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_NETWORK_INSTANCE_GROUP = "networkInstanceGroup";
32 public static final String TYPE_VNFC = "VNFC";
34 @JsonProperty("model-uuid")
35 private String ModelUUID;
36 @JsonProperty("model-invariant-uuid")
37 private String ModelInvariantUUID;
40 @JsonProperty("instance-group-role")
41 private String instanceGroupRole;
42 @JsonProperty("function")
43 private String function;
44 @JsonProperty("description")
45 private String description;
47 public String getModelUUID() {
50 public void setModelUUID(String modelUUID) {
51 ModelUUID = modelUUID;
53 public String getModelInvariantUUID() {
54 return ModelInvariantUUID;
56 public void setModelInvariantUUID(String modelInvariantUUID) {
57 ModelInvariantUUID = modelInvariantUUID;
59 public String getType() {
62 public void setType(String type) {
65 public String getInstanceGroupRole() {
66 return instanceGroupRole;
68 public void setInstanceGroupRole(String instanceGroupRole) {
69 this.instanceGroupRole = instanceGroupRole;
71 public String getFunction() {
74 public void setFunction(String function) {
75 this.function = function;
77 public String getDescription() {
80 public void setDescription(String description) {
81 this.description = description;