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;
26 import org.onap.so.apihandlerinfra.Actions;
27 import org.onap.so.serviceinstancebeans.LineOfBusiness;
28 import org.onap.so.serviceinstancebeans.OwningEntity;
29 import org.onap.so.serviceinstancebeans.Platform;
30 import org.onap.so.serviceinstancebeans.Project;
31 import org.onap.so.serviceinstancebeans.RequestInfo;
32 import org.onap.so.serviceinstancebeans.RequestParameters;
33 import org.onap.so.serviceinstancebeans.Service;
34 import org.onap.so.serviceinstancebeans.ServiceInstancesRequest;
36 public class ValidationInformation{
37 ServiceInstancesRequest sir;
38 HashMap<String,String> instanceIdMap;
43 RequestParameters requestParameters;
44 RequestInfo requestInfo;
45 String serviceInstanceType;
46 String vfModuleModelName;
48 String asdcServiceModelVersion;
54 OwningEntity owningEntity;
57 public ValidationInformation(ServiceInstancesRequest sir, HashMap<String,String> instanceIdMap,
58 Actions action, int reqVersion, Boolean aLaCarteFlag, RequestParameters requestParameters){
60 this.instanceIdMap = instanceIdMap;
62 this.reqVersion = reqVersion;
63 this.aLaCarteFlag = aLaCarteFlag;
64 this.requestParameters = requestParameters;
66 public ServiceInstancesRequest getSir(){
69 public void setSir(ServiceInstancesRequest value){
72 public HashMap<String, String> getInstanceIdMap(){
73 return this.instanceIdMap;
75 public void setInstanceIdMap(HashMap<String, String> value){
76 this.instanceIdMap = value;
78 public Actions getAction(){
81 public void setAction(Actions value){
84 public RequestInfo getRequestInfo(){
85 return this.requestInfo;
87 public void setRequestInfo(RequestInfo value){
88 this.requestInfo = value;
90 public int getReqVersion(){
91 return this.reqVersion;
93 public void setReqVersion(int value){
94 this.reqVersion = value;
96 public String getRequestScope(){
97 return this.requestScope;
99 public void setRequestScope(String value){
100 this.requestScope = value;
102 public Boolean getALaCarteFlag(){
103 return this.aLaCarteFlag;
105 public void setALaCarteFlag(Boolean value){
106 this.aLaCarteFlag = value;
108 public RequestParameters getReqParameters(){
109 return this.requestParameters;
111 public void setReqParameters(RequestParameters value){
112 this.requestParameters = value;
114 public String getServiceInstanceType(){
115 return this.serviceInstanceType;
117 public void setServiceInstanceType(String value){
118 this.serviceInstanceType = value;
120 public String getVfModuleModelName(){
121 return this.vfModuleModelName;
123 public void setVfModuleModelName(String value){
124 this.vfModuleModelName = value;
126 public String getVnfType(){
129 public void setVnfType(String value){
130 this.vnfType = value;
132 public String getAsdcServiceModelVersion(){
133 return this.asdcServiceModelVersion;
135 public void setAsdcServiceModelVersion(String value){
136 this.asdcServiceModelVersion = value;
138 public String getVfModuleType(){
139 return this.vfModuleType;
141 public void setVfModuleType(String value){
142 this.vfModuleType = value;
144 public String getNetworkType(){
145 return this.networkType;
147 public void setNetworkType(String value){
148 this.networkType = value;
150 public Platform getPlatform(){
151 return this.platform;
153 public void setPlatform(Platform value){
154 this.platform = value;
156 public LineOfBusiness getLOB(){
159 public void setLOB(LineOfBusiness value){
162 public Project getProject(){
165 public void setProject(Project value){
166 this.project = value;
168 public OwningEntity getOE(){
169 return this.owningEntity;
171 public void setOE(OwningEntity value){
172 this.owningEntity = value;
174 public Service getUserParams(){
175 return this.userParams;
177 public void setUserParams(Service value){
178 this.userParams = value;