7fc9567123971e6d8a6c5630054595175f62a6d9
[so.git] / mso-api-handlers / mso-api-handler-infra / src / main / java / org / onap / so / apihandlerinfra / validation / ValidationInformation.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
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
11  * 
12  *      http://www.apache.org/licenses/LICENSE-2.0
13  * 
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=========================================================
20  */
21
22 package org.onap.so.apihandlerinfra.validation;
23
24 import java.util.HashMap;
25
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;
35
36 public class ValidationInformation{
37         ServiceInstancesRequest sir;
38         HashMap<String,String> instanceIdMap; 
39         Actions action; 
40         int reqVersion; 
41         String requestScope; 
42         Boolean aLaCarteFlag;
43         RequestParameters requestParameters;
44         RequestInfo requestInfo;
45         String serviceInstanceType;
46         String vfModuleModelName;
47         String vnfType;
48         String asdcServiceModelVersion;
49         String vfModuleType;
50         String networkType;
51         Platform platform;
52         LineOfBusiness lob;
53         Project project;
54         OwningEntity owningEntity;
55         Service userParams;
56         
57         public ValidationInformation(ServiceInstancesRequest sir, HashMap<String,String> instanceIdMap, 
58                         Actions action, int reqVersion, Boolean aLaCarteFlag, RequestParameters requestParameters){
59                 this.sir = sir;
60                 this.instanceIdMap = instanceIdMap;
61                 this.action =  action;
62                 this.reqVersion = reqVersion;
63                 this.aLaCarteFlag = aLaCarteFlag;
64                 this.requestParameters = requestParameters;
65         }
66         public ServiceInstancesRequest getSir(){
67                 return this.sir;
68         }
69         public void setSir(ServiceInstancesRequest value){
70                 this.sir = value;
71         }
72         public HashMap<String, String> getInstanceIdMap(){
73                 return this.instanceIdMap;
74         }
75         public void setInstanceIdMap(HashMap<String, String> value){
76                 this.instanceIdMap = value;
77         }
78         public Actions getAction(){
79                 return this.action;
80         }
81         public void setAction(Actions value){
82                 this.action = value;
83         }
84         public RequestInfo getRequestInfo(){
85                 return this.requestInfo;
86         }
87         public void setRequestInfo(RequestInfo value){
88                 this.requestInfo = value;
89         }
90         public int getReqVersion(){
91                 return this.reqVersion;
92         }
93         public void setReqVersion(int value){
94                 this.reqVersion = value;
95         }
96         public String getRequestScope(){
97                 return this.requestScope;
98         }
99         public void setRequestScope(String value){
100                 this.requestScope = value;
101         }
102         public Boolean getALaCarteFlag(){
103                 return this.aLaCarteFlag;
104         }
105         public void setALaCarteFlag(Boolean value){
106                 this.aLaCarteFlag = value;
107         }
108         public RequestParameters getReqParameters(){
109                 return this.requestParameters;
110         }
111         public void setReqParameters(RequestParameters value){
112                 this.requestParameters = value;
113         }
114         public String getServiceInstanceType(){
115                 return this.serviceInstanceType;
116         }
117         public void setServiceInstanceType(String value){
118                 this.serviceInstanceType = value;
119         }
120         public String getVfModuleModelName(){
121                 return this.vfModuleModelName;
122         }
123         public void setVfModuleModelName(String value){
124                 this.vfModuleModelName = value;
125         }
126         public String getVnfType(){
127                 return this.vnfType;
128         }
129         public void setVnfType(String value){
130                 this.vnfType = value;
131         }
132         public String getAsdcServiceModelVersion(){
133                 return this.asdcServiceModelVersion;
134         }
135         public void setAsdcServiceModelVersion(String value){
136                 this.asdcServiceModelVersion = value;
137         }
138         public String getVfModuleType(){
139                 return this.vfModuleType;
140         }
141         public void setVfModuleType(String value){
142                 this.vfModuleType = value;
143         }
144         public String getNetworkType(){
145                 return this.networkType;
146         }
147         public void setNetworkType(String value){
148                 this.networkType = value;
149         }
150         public Platform getPlatform(){
151                 return this.platform;
152         }
153         public void setPlatform(Platform value){
154                 this.platform = value;
155         }
156         public LineOfBusiness getLOB(){
157                 return this.lob;
158         }
159         public void setLOB(LineOfBusiness value){
160                 this.lob = value;
161         }
162         public Project getProject(){
163                 return this.project;
164         }
165         public void setProject(Project value){
166                 this.project = value;
167         }
168         public OwningEntity getOE(){
169                 return this.owningEntity;
170         }
171         public void setOE(OwningEntity value){
172                 this.owningEntity = value;
173         }
174         public Service getUserParams(){
175                 return this.userParams;
176         }
177         public void setUserParams(Service value){
178                 this.userParams = value;
179         }
180 }