2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 - 2019 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.client.namingservice;
23 import java.util.HashMap;
25 public class NamingRequestObject {
27 private HashMap<String, String> namingRequestMap = new HashMap<String, String>();
29 public HashMap<String, String> getNamingRequestObjectMap() {
30 return this.namingRequestMap;
33 public String getExternalKeyValue() {
34 return namingRequestMap.get(NamingServiceConstants.NS_EXTERNAL_KEY);
37 public void setExternalKeyValue(String externalKey) {
38 this.namingRequestMap.put(NamingServiceConstants.NS_EXTERNAL_KEY, externalKey);
41 public String getPolicyInstanceNameValue() {
42 return this.namingRequestMap.get(NamingServiceConstants.NS_POLICY_INSTANCE_NAME);
45 public void setPolicyInstanceNameValue(String policyInstanceName) {
46 this.namingRequestMap.put(NamingServiceConstants.NS_POLICY_INSTANCE_NAME, policyInstanceName);
49 public String getNamingTypeValue() {
50 return namingRequestMap.get(NamingServiceConstants.NS_NAMING_TYPE);
53 public void setNamingTypeValue(String namingType) {
54 this.namingRequestMap.put(NamingServiceConstants.NS_NAMING_TYPE, namingType);
57 public String getResourceNameValue() {
58 return this.namingRequestMap.get(NamingServiceConstants.NS_RESOURCE_NAME);
61 public void setResourceNameValue(String resourceName) {
62 namingRequestMap.put(NamingServiceConstants.NS_RESOURCE_NAME, resourceName);
65 public String getNfNamingCodeValue() {
66 return this.namingRequestMap.get(NamingServiceConstants.NS_NF_NAMING_CODE);
69 public void setNfNamingCodeValue(String nfNamingCode) {
70 this.namingRequestMap.put(NamingServiceConstants.NS_NF_NAMING_CODE, nfNamingCode);
73 public String getServiceModelNameValue() {
74 return this.namingRequestMap.get(NamingServiceConstants.NS_SERVICE_MODEL_NAME);
77 public void setServiceModelNameValue(String serviceModelName) {
78 this.namingRequestMap.put(NamingServiceConstants.NS_SERVICE_MODEL_NAME, serviceModelName);
81 public String getModelVersionValue() {
82 return this.namingRequestMap.get(NamingServiceConstants.NS_MODEL_VERSION);
85 public void setModelVersionValue(String modelVersion) {
86 this.namingRequestMap.put(NamingServiceConstants.NS_MODEL_VERSION, modelVersion);
89 public String getNetworkNameValue() {
90 return this.namingRequestMap.get(NamingServiceConstants.NS_NETWORK_NAME);
93 public void setNetworkNameValue(String networkName) {
94 this.namingRequestMap.put(NamingServiceConstants.NS_NETWORK_NAME, networkName);
97 public String getVpnNameValue() {
98 return this.namingRequestMap.get(NamingServiceConstants.NS_VPN_NAME);
101 public void setVpnNameValue(String vpnName) {
102 this.namingRequestMap.put(NamingServiceConstants.NS_VPN_NAME, vpnName);
105 public String getZoneIdValue() {
106 return this.namingRequestMap.get(NamingServiceConstants.NS_ZONE_ID);
109 public void setZoneIdValue(String zoneId) {
110 this.namingRequestMap.put(NamingServiceConstants.NS_ZONE_ID, zoneId);