Containerization feature of SO
[so.git] / bpmn / MSOCommonBPMN / src / main / java / org / onap / so / bpmn / servicedecomposition / modelinfo / ModelInfoInstanceGroup.java
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 ModelInfoInstanceGroup  implements Serializable {
27         
28         private static final long serialVersionUID = -8279040393230356226L;
29         
30         public static final String TYPE_L3_NETWORK = "L3-NETWORK";
31         public static final String TYPE_NETWORK_INSTANCE_GROUP = "networkInstanceGroup";
32         public static final String TYPE_VNFC = "VNFC";
33                 
34         @JsonProperty("model-uuid")
35         private String ModelUUID;
36         @JsonProperty("model-invariant-uuid")
37         private String ModelInvariantUUID;
38         @JsonProperty("type")
39         private String type;
40         @JsonProperty("instance-group-role")
41         private String instanceGroupRole;
42         @JsonProperty("function")
43         private String function;
44         @JsonProperty("description")
45         private String description;
46         
47         public String getModelUUID() {
48                 return ModelUUID;
49         }
50         public void setModelUUID(String modelUUID) {
51                 ModelUUID = modelUUID;
52         }
53         public String getModelInvariantUUID() {
54                 return ModelInvariantUUID;
55         }
56         public void setModelInvariantUUID(String modelInvariantUUID) {
57                 ModelInvariantUUID = modelInvariantUUID;
58         }
59         public String getType() {
60                 return type;
61         }
62         public void setType(String type) {
63                 this.type = type;
64         }
65         public String getInstanceGroupRole() {
66                 return instanceGroupRole;
67         }
68         public void setInstanceGroupRole(String instanceGroupRole) {
69                 this.instanceGroupRole = instanceGroupRole;
70         }
71         public String getFunction() {
72                 return function;
73         }
74         public void setFunction(String function) {
75                 this.function = function;
76         }
77         public String getDescription() {
78                 return description;
79         }
80         public void setDescription(String description) {
81                 this.description = description;
82         }
83 }