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;
25 import com.fasterxml.jackson.annotation.JsonProperty;
27 public class ModelInfoCollection implements Serializable {
29 private static final long serialVersionUID = 8380534468706675508L;
31 @JsonProperty("model-version-id")
32 private String modelVersionId;
33 @JsonProperty("model-invariant-uuid")
34 private String modelInvariantUUID;
35 @JsonProperty("collection-function")
36 private String collectionFunction;
37 @JsonProperty("collection-role")
38 private String collectionRole;
39 @JsonProperty("collection-type")
40 private String collectionType;
41 @JsonProperty("description")
42 private String description;
43 @JsonProperty("quantity")
46 public String getModelVersionId() {
47 return modelVersionId;
49 public void setModelVersionId(String modelVersionId) {
50 this.modelVersionId = modelVersionId;
52 public String getModelInvariantUUID() {
53 return this.modelInvariantUUID;
55 public void setModelInvariantUUID(String modelInvariantUUID) {
56 this.modelInvariantUUID = modelInvariantUUID;
58 public String getCollectionFunction() {
59 return collectionFunction;
61 public void setCollectionFunction(String collectionFunction) {
62 this.collectionFunction = collectionFunction;
64 public String getCollectionRole() {
65 return collectionRole;
67 public void setCollectionRole(String collectionRole) {
68 this.collectionRole = collectionRole;
70 public String getCollectionType() {
71 return collectionType;
73 public void setCollectionType(String collectionType) {
74 this.collectionType = collectionType;
76 public String getDescription() {
79 public void setDescription(String description) {
80 this.description = description;
82 public int getQuantity() {
85 public void setQuantity(int quantity) {
86 this.quantity = quantity;