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.core.domain;
23 import java.io.Serializable;
25 import com.fasterxml.jackson.annotation.JsonRootName;
27 @JsonRootName("modelInfo")
28 public class ModelInfo extends JsonWrapper implements Serializable {
31 * This is domain object defining structure for MODEL INFO
32 * It will be valid for each Resource type object
34 private static final long serialVersionUID = 1L;
36 private String modelName = "";
37 private String modelUuid = "";
38 private String modelInvariantUuid = "";
39 private String modelVersion = "";
40 //additionally on resource level
41 private String modelCustomizationUuid = "";
42 private String modelCustomizationName = "";
43 private String modelInstanceName = "";
44 private String modelType = "";
48 public String getModelName() {
51 public void setModelName(String modelName) {
52 this.modelName = modelName;
54 public String getModelUuid() {
57 public void setModelUuid(String modelUuid) {
58 this.modelUuid = modelUuid;
60 public String getModelInvariantUuid() {
61 return modelInvariantUuid;
63 public void setModelInvariantUuid(String modelInvariantUuid) {
64 this.modelInvariantUuid = modelInvariantUuid;
66 public String getModelVersion() {
69 public void setModelVersion(String modelVersion) {
70 this.modelVersion = modelVersion;
72 public String getModelCustomizationUuid() {
73 return modelCustomizationUuid;
75 public void setModelCustomizationUuid(String modelCustomizationUuid) {
76 this.modelCustomizationUuid = modelCustomizationUuid;
78 public String getModelCustomizationName() {
79 return modelCustomizationName;
81 public void setModelCustomizationName(String modelCustomizationName) {
82 this.modelCustomizationName = modelCustomizationName;
84 public String getModelInstanceName() {
85 return modelInstanceName;
87 public void setModelInstanceName(String modelInstanceName) {
88 this.modelInstanceName = modelInstanceName;
90 public String getModelType() {
93 public void setModelType(String modelType) {
94 this.modelType = modelType;