2 * ============LICENSE_START=======================================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
21 package org.onap.so.bpmn.servicedecomposition.modelinfo;
23 import java.io.Serializable;
24 import com.fasterxml.jackson.annotation.JsonProperty;
26 public class ModelInfoInstanceGroup implements Serializable {
28 private static final long serialVersionUID = -8279040393230356226L;
30 public static final String TYPE_L3_NETWORK = "L3-NETWORK";
31 public static final String TYPE_VNFC = "VNFC";
33 @JsonProperty("model-uuid")
34 private String ModelUUID;
35 @JsonProperty("model-invariant-uuid")
36 private String ModelInvariantUUID;
39 @JsonProperty("instance-group-role")
40 private String instanceGroupRole;
41 @JsonProperty("function")
42 private String function;
43 @JsonProperty("description")
44 private String description;
46 public String getModelUUID() {
49 public void setModelUUID(String modelUUID) {
50 ModelUUID = modelUUID;
52 public String getModelInvariantUUID() {
53 return ModelInvariantUUID;
55 public void setModelInvariantUUID(String modelInvariantUUID) {
56 ModelInvariantUUID = modelInvariantUUID;
58 public String getType() {
61 public void setType(String type) {
64 public String getInstanceGroupRole() {
65 return instanceGroupRole;
67 public void setInstanceGroupRole(String instanceGroupRole) {
68 this.instanceGroupRole = instanceGroupRole;
70 public String getFunction() {
73 public void setFunction(String function) {
74 this.function = function;
76 public String getDescription() {
79 public void setDescription(String description) {
80 this.description = description;