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;
46 public AllottedResourceCustomization() {
50 public String getModelCustomizationUuid() {
51 return this.modelCustomizationUuid;
53 public void setModelCustomizationUuid(String modelCustomizationUuid) {
54 this.modelCustomizationUuid = modelCustomizationUuid;
57 public String getArModelUuid() {
58 return this.arModelUuid;
60 public void setArModelUuid(String arModelUuid) {
61 this.arModelUuid = arModelUuid;
64 public Timestamp getCreated() {
67 public void setCreated(Timestamp created) {
68 this.created = created;
71 public String getModelInstanceName() {
72 return this.modelInstanceName;
74 public void setModelInstanceName(String modelInstanceName) {
75 this.modelInstanceName = modelInstanceName;
77 public AllottedResource getAllottedResource() {
80 public void setAllottedResource(AllottedResource ar) {
83 public String getProvidingServiceModelInvariantUuid() {
84 return this.providingServiceModelInvariantUuid;
86 public void setProvidingServiceModelInvariantUuid(String providingServiceModelInvariantUuid) {
87 this.providingServiceModelInvariantUuid = providingServiceModelInvariantUuid;
89 public String getTargetNetworkRole() {
90 return this.targetNetworkRole;
92 public void setTargetNetworkRole(String targetNetworkRole) {
93 this.targetNetworkRole = targetNetworkRole;
95 public String getNfFunction() {
96 return this.nfFunction;
98 public void setNfFunction(String nfFunction) {
99 this.nfFunction = nfFunction;
101 public String getNfType() {
104 public void setNfType(String nfType) {
105 this.nfType = nfType;
107 public String getNfRole() {
110 public void setNfRole(String nfRole) {
111 this.nfRole = nfRole;
113 public String getNfNamingCode() {
114 return this.nfNamingCode;
116 public void setNfNamingCode(String nfNamingCode) {
117 this.nfNamingCode = nfNamingCode;
119 public Integer getMinInstances() {
120 return this.minInstances;
122 public void setMinInstances(Integer minInstances) {
123 this.minInstances = minInstances;
125 public Integer getMaxInstances() {
126 return this.maxInstances;
128 public void setMaxInstances(Integer maxInstances) {
129 this.maxInstances = maxInstances;
133 public String toString() {
134 return "modelCustomizationUuid=" + this.modelCustomizationUuid +
135 ",modelInstanceName=" + this.modelInstanceName +
136 ",modelInstanceName=" + this.modelInstanceName +
137 ",created=" + this.created +