bc330eeafdd65be30d9fc0892f0dd9c845640b12
[so.git] /
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 package org.onap.so.bpmn.servicedecomposition.modelinfo;
22
23 import java.io.Serializable;
24 import com.fasterxml.jackson.annotation.JsonProperty;
25
26 public class ModelInfoServiceInstance extends ModelInfoMetadata implements Serializable {
27
28     private static final long serialVersionUID = -1812787934683419141L;
29
30     @JsonProperty("description")
31     private String description;
32     @JsonProperty("created")
33     private String created;
34     @JsonProperty("service-type")
35     private String serviceType;
36     @JsonProperty("service-role")
37     private String serviceRole;
38     @JsonProperty("environment-context")
39     private String environmentContext;
40     @JsonProperty("workload-context")
41     private String workloadContext;
42     @JsonProperty("naming-policy")
43     private String namingPolicy;
44     @JsonProperty("onap-generated-naming")
45     private Boolean onapGeneratedNaming;
46
47
48     public String getDescription() {
49         return description;
50     }
51
52     public void setDescription(String description) {
53         this.description = description;
54     }
55
56     public String getCreated() {
57         return created;
58     }
59
60     public void setCreated(String created) {
61         this.created = created;
62     }
63
64     public String getServiceType() {
65         return serviceType;
66     }
67
68     public void setServiceType(String serviceType) {
69         this.serviceType = serviceType;
70     }
71
72     public String getServiceRole() {
73         return serviceRole;
74     }
75
76     public void setServiceRole(String serviceRole) {
77         this.serviceRole = serviceRole;
78     }
79
80     public String getEnvironmentContext() {
81         return environmentContext;
82     }
83
84     public void setEnvironmentContext(String environmentContext) {
85         this.environmentContext = environmentContext;
86     }
87
88     public String getWorkloadContext() {
89         return workloadContext;
90     }
91
92     public void setWorkloadContext(String workloadContext) {
93         this.workloadContext = workloadContext;
94     }
95
96
97     public String getNamingPolicy() {
98         return namingPolicy;
99     }
100
101     public void setNamingPolicy(String namingPolicy) {
102         this.namingPolicy = namingPolicy;
103     }
104
105     public Boolean getOnapGeneratedNaming() {
106         return onapGeneratedNaming;
107     }
108
109     public void setOnapGeneratedNaming(Boolean onapGeneratedNaming) {
110         this.onapGeneratedNaming = onapGeneratedNaming;
111     }
112 }