2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6 * Copyright (C) 2017 Huawei Technologies Co., Ltd. All rights reserved.
7 * ================================================================================
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19 * ============LICENSE_END=========================================================
22 package org.onap.so.apihandlerinfra.validation;
24 import java.util.HashMap;
25 import org.onap.so.apihandlerinfra.Actions;
26 import org.onap.so.serviceinstancebeans.LineOfBusiness;
27 import org.onap.so.serviceinstancebeans.OwningEntity;
28 import org.onap.so.serviceinstancebeans.Platform;
29 import org.onap.so.serviceinstancebeans.Project;
30 import org.onap.so.serviceinstancebeans.RequestInfo;
31 import org.onap.so.serviceinstancebeans.RequestParameters;
32 import org.onap.so.serviceinstancebeans.Service;
33 import org.onap.so.serviceinstancebeans.ServiceInstancesRequest;
35 public class ValidationInformation {
36 ServiceInstancesRequest sir;
37 HashMap<String, String> instanceIdMap;
42 RequestParameters requestParameters;
43 RequestInfo requestInfo;
44 String serviceInstanceType;
45 String vfModuleModelName;
47 String asdcServiceModelVersion;
53 OwningEntity owningEntity;
56 public ValidationInformation(ServiceInstancesRequest sir, HashMap<String, String> instanceIdMap, Actions action,
57 int reqVersion, Boolean aLaCarteFlag, RequestParameters requestParameters) {
59 this.instanceIdMap = instanceIdMap;
61 this.reqVersion = reqVersion;
62 this.aLaCarteFlag = aLaCarteFlag;
63 this.requestParameters = requestParameters;
66 public ServiceInstancesRequest getSir() {
70 public void setSir(ServiceInstancesRequest value) {
74 public HashMap<String, String> getInstanceIdMap() {
75 return this.instanceIdMap;
78 public void setInstanceIdMap(HashMap<String, String> value) {
79 this.instanceIdMap = value;
82 public Actions getAction() {
86 public void setAction(Actions value) {
90 public RequestInfo getRequestInfo() {
91 return this.requestInfo;
94 public void setRequestInfo(RequestInfo value) {
95 this.requestInfo = value;
98 public int getReqVersion() {
99 return this.reqVersion;
102 public void setReqVersion(int value) {
103 this.reqVersion = value;
106 public String getRequestScope() {
107 return this.requestScope;
110 public void setRequestScope(String value) {
111 this.requestScope = value;
114 public Boolean getALaCarteFlag() {
115 return this.aLaCarteFlag;
118 public void setALaCarteFlag(Boolean value) {
119 this.aLaCarteFlag = value;
122 public RequestParameters getReqParameters() {
123 return this.requestParameters;
126 public void setReqParameters(RequestParameters value) {
127 this.requestParameters = value;
130 public String getServiceInstanceType() {
131 return this.serviceInstanceType;
134 public void setServiceInstanceType(String value) {
135 this.serviceInstanceType = value;
138 public String getVfModuleModelName() {
139 return this.vfModuleModelName;
142 public void setVfModuleModelName(String value) {
143 this.vfModuleModelName = value;
146 public String getVnfType() {
150 public void setVnfType(String value) {
151 this.vnfType = value;
154 public String getAsdcServiceModelVersion() {
155 return this.asdcServiceModelVersion;
158 public void setAsdcServiceModelVersion(String value) {
159 this.asdcServiceModelVersion = value;
162 public String getVfModuleType() {
163 return this.vfModuleType;
166 public void setVfModuleType(String value) {
167 this.vfModuleType = value;
170 public String getNetworkType() {
171 return this.networkType;
174 public void setNetworkType(String value) {
175 this.networkType = value;
178 public Platform getPlatform() {
179 return this.platform;
182 public void setPlatform(Platform value) {
183 this.platform = value;
186 public LineOfBusiness getLOB() {
190 public void setLOB(LineOfBusiness value) {
194 public Project getProject() {
198 public void setProject(Project value) {
199 this.project = value;
202 public OwningEntity getOE() {
203 return this.owningEntity;
206 public void setOE(OwningEntity value) {
207 this.owningEntity = value;
210 public Service getUserParams() {
211 return this.userParams;
214 public void setUserParams(Service value) {
215 this.userParams = value;