42e477b6b460a52ddba4c1c81beae933d06af555
[policy/models.git] / models-interactions / model-impl / so / src / main / java / org / onap / policy / so / SoModelInfo.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * so
4  * ================================================================================
5  * Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved.
6  * Modifications Copyright (C) 2019 Nordix Foundation.
7  * ================================================================================
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  * 
12  *      http://www.apache.org/licenses/LICENSE-2.0
13  * 
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  * ============LICENSE_END=========================================================
20  */
21
22 package org.onap.policy.so;
23
24 import com.google.gson.annotations.SerializedName;
25
26 import java.io.Serializable;
27
28 public class SoModelInfo implements Serializable {
29
30     private static final long serialVersionUID = -3283942659786236032L;
31
32     @SerializedName("modelType")
33     private String modelType;
34
35     @SerializedName("modelInvariantId")
36     private String modelInvariantId;
37
38     @SerializedName("modelVersionId")
39     private String modelVersionId;
40
41     @SerializedName("modelName")
42     private String modelName;
43
44     @SerializedName("modelVersion")
45     private String modelVersion;
46
47     @SerializedName("modelCustomizationName")
48     private String modelCustomizationName;
49
50     @SerializedName("modelCustomizationId")
51     private String modelCustomizationId;
52
53     public SoModelInfo() {
54       //required by author
55     }
56
57     public String getModelCustomizationId() {
58         return modelCustomizationId;
59     }
60
61     public String getModelCustomizationName() {
62         return modelCustomizationName;
63     }
64
65     public String getModelInvariantId() {
66         return modelInvariantId;
67     }
68
69     public String getModelName() {
70         return modelName;
71     }
72
73     public String getModelType() {
74         return modelType;
75     }
76
77     public String getModelVersion() {
78         return modelVersion;
79     }
80
81     public String getModelVersionId() {
82         return modelVersionId;
83     }
84
85     public void setModelCustomizationId(String modelCustomizationId) {
86         this.modelCustomizationId = modelCustomizationId;
87     }
88
89     public void setModelCustomizationName(String modelCustomizationName) {
90         this.modelCustomizationName = modelCustomizationName;
91     }
92
93     public void setModelInvariantId(String modelInvariantId) {
94         this.modelInvariantId = modelInvariantId;
95     }
96
97     public void setModelName(String modelName) {
98         this.modelName = modelName;
99     }
100
101     public void setModelType(String modelType) {
102         this.modelType = modelType;
103     }
104
105     public void setModelVersion(String modelVersion) {
106         this.modelVersion = modelVersion;
107     }
108
109     public void setModelVersionId(String modelVersionId) {
110         this.modelVersionId = modelVersionId;
111     }
112
113 }