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=========================================================
20 package org.openecomp.mso.db.catalog.beans;
22 import java.io.Serializable;
23 import java.sql.Timestamp;
25 import org.openecomp.mso.db.catalog.utils.MavenLikeVersioning;
26 import org.openecomp.mso.db.catalog.beans.AllottedResource;
28 public class AllottedResourceCustomization extends MavenLikeVersioning implements Serializable {
30 private static final long serialVersionUID = 768026109321305392L;
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;
48 public AllottedResourceCustomization() {
52 public String getModelCustomizationUuid() {
53 return this.modelCustomizationUuid;
55 public void setModelCustomizationUuid(String modelCustomizationUuid) {
56 this.modelCustomizationUuid = modelCustomizationUuid;
59 public String getArModelUuid() {
60 return this.arModelUuid;
62 public void setArModelUuid(String arModelUuid) {
63 this.arModelUuid = arModelUuid;
66 public Timestamp getCreated() {
69 public void setCreated(Timestamp created) {
70 this.created = created;
73 public String getModelInstanceName() {
74 return this.modelInstanceName;
76 public void setModelInstanceName(String modelInstanceName) {
77 this.modelInstanceName = modelInstanceName;
79 public AllottedResource getAllottedResource() {
82 public void setAllottedResource(AllottedResource ar) {
85 public String getProvidingServiceModelInvariantUuid() {
86 return this.providingServiceModelInvariantUuid;
88 public void setProvidingServiceModelInvariantUuid(String providingServiceModelInvariantUuid) {
89 this.providingServiceModelInvariantUuid = providingServiceModelInvariantUuid;
91 public String getTargetNetworkRole() {
92 return this.targetNetworkRole;
94 public void setTargetNetworkRole(String targetNetworkRole) {
95 this.targetNetworkRole = targetNetworkRole;
97 public String getNfFunction() {
98 return this.nfFunction;
100 public void setNfFunction(String nfFunction) {
101 this.nfFunction = nfFunction;
103 public String getNfType() {
106 public void setNfType(String nfType) {
107 this.nfType = nfType;
109 public String getNfRole() {
112 public void setNfRole(String nfRole) {
113 this.nfRole = nfRole;
115 public String getNfNamingCode() {
116 return this.nfNamingCode;
118 public void setNfNamingCode(String nfNamingCode) {
119 this.nfNamingCode = nfNamingCode;
121 public Integer getMinInstances() {
122 return this.minInstances;
124 public void setMinInstances(Integer minInstances) {
125 this.minInstances = minInstances;
127 public Integer getMaxInstances() {
128 return this.maxInstances;
130 public void setMaxInstances(Integer maxInstances) {
131 this.maxInstances = maxInstances;
133 public String getProvidingServiceModelUuid() {
134 return this.providingServiceModelUuid;
136 public void setProvidingServiceModelUuid(String providingServiceModelUuid) {
137 this.providingServiceModelUuid = providingServiceModelUuid;
139 public String getProvidingServiceModelName() {
140 return this.providingServiceModelName;
142 public void setProvidingServiceModelName(String providingServiceModelName) {
143 this.providingServiceModelName = providingServiceModelName;
147 public String toString () {
148 return "modelCustomizationUuid=" + this.modelCustomizationUuid +
149 ",modelInstanceName=" + this.modelInstanceName +
150 ",modelInstanceName=" + this.modelInstanceName +
151 ",created=" + this.created +