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=========================================================
21 package org.onap.so.bpmn.core.domain;
23 import java.io.Serializable;
25 import com.fasterxml.jackson.annotation.JsonRootName;
28 * This class is used to store instance
29 * data of Vnf for ServiceDecomposition
35 public class Vnf extends JsonWrapper implements Serializable {
37 private static final long serialVersionUID = 1L;
39 private String vnfName;
40 private String serviceId;
41 private String vnfType;
42 private String orchStatus;
43 private String modelInvariantId;
44 private String modelVersionId;
45 private String modelCustomizationId;
46 private String nfType;
47 private String nfRole;
48 private String nfFunction;
49 private String nfNamingCode;
50 private String tenantId;
51 private String cloudSiteId;
54 public String getVnfName() {
57 public void setVnfName(String vnfName) {
58 this.vnfName = vnfName;
60 public String getServiceId() {
63 public void setServiceId(String serviceId) {
64 this.serviceId = serviceId;
66 public String getVnfType() {
69 public void setVnfType(String vnfType) {
70 this.vnfType = vnfType;
72 public String getOrchStatus() {
75 public void setOrchStatus(String orchStatus) {
76 this.orchStatus = orchStatus;
78 public String getModelInvariantId() {
79 return modelInvariantId;
81 public void setModelInvariantId(String modelInvariantId) {
82 this.modelInvariantId = modelInvariantId;
84 public String getModelVersionId() {
85 return modelVersionId;
87 public void setModelVersionId(String modelVersionId) {
88 this.modelVersionId = modelVersionId;
90 public String getModelCustomizationId() {
91 return modelCustomizationId;
93 public void setModelCustomizationId(String modelCustomizationId) {
94 this.modelCustomizationId = modelCustomizationId;
96 public String getNfType() {
99 public void setNfType(String nfType) {
100 this.nfType = nfType;
102 public String getNfRole() {
105 public void setNfRole(String nfRole) {
106 this.nfRole = nfRole;
108 public String getNfFunction() {
111 public void setNfFunction(String nfFunction) {
112 this.nfFunction = nfFunction;
114 public String getNfNamingCode() {
117 public void setNfNamingCode(String nfNamingCode) {
118 this.nfNamingCode = nfNamingCode;
120 public String getVnfId() {
123 public void setVnfId(String vnfId) {
126 public String getTenantId() {
129 public void setTenantId(String tenantId) {
130 this.tenantId = tenantId;
132 public String getCloudSiteId() {
135 public void setCloudSiteId(String cloudSiteId) {
136 this.cloudSiteId = cloudSiteId;