AT&T 1712 and 1802 release code
[so.git] / mso-catalog-db / src / main / java / org / openecomp / mso / db / catalog / beans / AllottedResourceCustomization.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 package org.openecomp.mso.db.catalog.beans;
21
22 import java.io.Serializable;
23 import java.sql.Timestamp;
24
25 import org.openecomp.mso.db.catalog.utils.MavenLikeVersioning;
26 import org.openecomp.mso.db.catalog.beans.AllottedResource;
27
28 public class AllottedResourceCustomization extends MavenLikeVersioning implements Serializable {
29         
30         private static final long serialVersionUID = 768026109321305392L;
31
32         private String modelCustomizationUuid;
33         private String arModelUuid;
34         private Timestamp created;
35         private String modelInstanceName;
36         private String providingServiceModelInvariantUuid;
37         private String targetNetworkRole;
38         private String nfFunction;
39         private String nfType;
40         private String nfRole;
41         private String nfNamingCode;
42         private Integer minInstances;
43         private Integer maxInstances;
44         private AllottedResource ar = null;
45         private String providingServiceModelUuid;
46         private String providingServiceModelName;
47
48         public AllottedResourceCustomization() {
49                 super();
50         }
51
52         public String getModelCustomizationUuid() {
53                 return this.modelCustomizationUuid;
54         }
55         public void setModelCustomizationUuid(String modelCustomizationUuid) {
56                 this.modelCustomizationUuid = modelCustomizationUuid;
57         }
58
59         public String getArModelUuid() {
60                 return this.arModelUuid;
61         }
62         public void setArModelUuid(String arModelUuid) {
63                 this.arModelUuid = arModelUuid;
64         }
65
66         public Timestamp getCreated() {
67                 return this.created;
68         }
69         public void setCreated(Timestamp created) {
70                 this.created = created;
71         }
72
73         public String getModelInstanceName() {
74                 return this.modelInstanceName;
75         }
76         public void setModelInstanceName(String modelInstanceName) {
77                 this.modelInstanceName = modelInstanceName;
78         }
79         public AllottedResource getAllottedResource() {
80                 return this.ar;
81         }
82         public void setAllottedResource(AllottedResource ar) {
83                 this.ar = ar;
84         }
85         public String getProvidingServiceModelInvariantUuid() {
86                 return this.providingServiceModelInvariantUuid;
87         }
88         public void setProvidingServiceModelInvariantUuid(String providingServiceModelInvariantUuid) {
89                 this.providingServiceModelInvariantUuid = providingServiceModelInvariantUuid;
90         }
91         public String getTargetNetworkRole() {
92                 return this.targetNetworkRole;
93         }
94         public void setTargetNetworkRole(String targetNetworkRole) {
95                 this.targetNetworkRole = targetNetworkRole;
96         }
97         public String getNfFunction() {
98                 return this.nfFunction;
99         }
100         public void setNfFunction(String nfFunction) {
101                 this.nfFunction = nfFunction;
102         }
103         public String getNfType() {
104                 return this.nfType;
105         }
106         public void setNfType(String nfType) {
107                 this.nfType = nfType;
108         }
109         public String getNfRole() {
110                 return this.nfRole;
111         }
112         public void setNfRole(String nfRole) {
113                 this.nfRole = nfRole;
114         }
115         public String getNfNamingCode() {
116                 return this.nfNamingCode;
117         }
118         public void setNfNamingCode(String nfNamingCode) {
119                 this.nfNamingCode = nfNamingCode;
120         }
121         public Integer getMinInstances() {
122                 return this.minInstances;
123         }
124         public void setMinInstances(Integer minInstances) {
125                 this.minInstances = minInstances;
126         }
127         public Integer getMaxInstances() {
128                 return this.maxInstances;
129         }
130         public void setMaxInstances(Integer maxInstances) {
131                 this.maxInstances = maxInstances;
132         }
133         public String getProvidingServiceModelUuid() {
134                 return this.providingServiceModelUuid;
135         }
136         public void setProvidingServiceModelUuid(String providingServiceModelUuid) {
137                 this.providingServiceModelUuid = providingServiceModelUuid;
138         }
139         public String getProvidingServiceModelName() {
140                 return this.providingServiceModelName;
141         }
142         public void setProvidingServiceModelName(String providingServiceModelName) {
143                 this.providingServiceModelName = providingServiceModelName;
144         }
145
146         @Override
147         public String toString () {
148                 return "modelCustomizationUuid=" + this.modelCustomizationUuid +
149                         ",modelInstanceName=" + this.modelInstanceName +
150                         ",modelInstanceName=" + this.modelInstanceName +
151                         ",created=" + this.created +
152                         ",ar=" + this.ar;
153         }
154
155 }