983fe50d88f6a2eb64bb3fee76617449cc265996
[so.git] / bpmn / MSOCoreBPMN / src / main / java / org / onap / so / bpmn / core / domain / ModelInfo.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.core.domain;
22
23 import java.io.Serializable;
24
25 import com.fasterxml.jackson.annotation.JsonRootName;
26
27 @JsonRootName("modelInfo")
28 public class ModelInfo  extends JsonWrapper implements Serializable {
29
30         /**
31          * This is domain object defining structure for MODEL INFO
32          * It will be valid for each Resource type object
33          */
34         private static final long serialVersionUID = 1L;
35         
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 = "";
45
46         //GET and SET methods
47         
48         public String getModelName() {
49                 return modelName;
50         }
51         public void setModelName(String modelName) {
52                 this.modelName = modelName;
53         }
54         public String getModelUuid() {
55                 return modelUuid;
56         }
57         public void setModelUuid(String modelUuid) {
58                 this.modelUuid = modelUuid;
59         }
60         public String getModelInvariantUuid() {
61                 return modelInvariantUuid;
62         }
63         public void setModelInvariantUuid(String modelInvariantUuid) {
64                 this.modelInvariantUuid = modelInvariantUuid;
65         }
66         public String getModelVersion() {
67                 return modelVersion;
68         }
69         public void setModelVersion(String modelVersion) {
70                 this.modelVersion = modelVersion;
71         }
72         public String getModelCustomizationUuid() {
73                 return modelCustomizationUuid;
74         }
75         public void setModelCustomizationUuid(String modelCustomizationUuid) {
76                 this.modelCustomizationUuid = modelCustomizationUuid;
77         }
78         public String getModelCustomizationName() {
79                 return modelCustomizationName;
80         }
81         public void setModelCustomizationName(String modelCustomizationName) {
82                 this.modelCustomizationName = modelCustomizationName;
83         }
84         public String getModelInstanceName() {
85                 return modelInstanceName;
86         }
87         public void setModelInstanceName(String modelInstanceName) {
88                 this.modelInstanceName = modelInstanceName;
89         }
90         public String getModelType() {
91                 return modelType;
92         }
93         public void setModelType(String modelType) {
94                 this.modelType = modelType;
95         }
96                 
97 }