Convert tabs to spaces
[ccsdk/sli/adaptors.git] / aai-service / provider / src / main / java / org / onap / sli / adaptors / aai / query / Results.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * openECOMP : SDN-C
4  * ================================================================================
5  * Copyright (C) 2017 ONAP Intellectual Property. All rights
6  *                                              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.ccsdk.sli.adaptors.aai.query;
23
24 import javax.xml.bind.annotation.XmlAccessType;
25 import javax.xml.bind.annotation.XmlAccessorType;
26 import javax.xml.bind.annotation.XmlElement;
27 import javax.xml.bind.annotation.XmlRootElement;
28 import javax.xml.bind.annotation.XmlType;
29
30 import org.openecomp.aai.inventory.v10.*;
31
32
33 @XmlAccessorType(XmlAccessType.FIELD)
34 @XmlType(name = "", propOrder = {
35     "genericVnf",
36     "pserver",
37     "complex"
38 })
39 @XmlRootElement(name = "results")
40 public class Results {
41
42         @XmlElement(name = "generic-vnf")
43         private GenericVnf genericVnf;
44
45         @XmlElement(name = "complex")
46         private Complex complex;
47
48         @XmlElement(name = "pserver")
49         private Pserver pserver;
50
51
52         @XmlElement(name = "generic-vnf")
53     public GenericVnf getGenericVnf ()
54     {
55         return genericVnf;
56     }
57         @XmlElement(name = "generic-vnf")
58     public void setGenericVnf (GenericVnf genericVnf)
59     {
60         this.genericVnf = genericVnf;
61     }
62
63     @Override
64     public String toString()
65     {
66         return " [generic-vnf = "+genericVnf+"]";
67     }
68     @XmlElement(name = "complex")
69         public Complex getComplex() {
70                 return complex;
71         }
72         @XmlElement(name = "complex")
73         public void setComplex(Complex complex) {
74                 this.complex = complex;
75         }
76         @XmlElement(name = "pserver")
77         public Pserver getPserver() {
78                 return pserver;
79         }
80         @XmlElement(name = "pserver")
81         public void setPserver(Pserver pserver) {
82                 this.pserver = pserver;
83         }
84 }