2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 AT&T Intellectual Property. All rights
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.ccsdk.sli.adaptors.aai.query;
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;
30 import org.openecomp.aai.inventory.v11.*;
33 @XmlAccessorType(XmlAccessType.FIELD)
34 @XmlType(name = "", propOrder = {
39 @XmlRootElement(name = "results")
40 public class Results {
42 @XmlElement(name = "generic-vnf")
43 private GenericVnf genericVnf;
45 @XmlElement(name = "complex")
46 private Complex complex;
48 @XmlElement(name = "pserver")
49 private Pserver pserver;
52 @XmlElement(name = "generic-vnf")
53 public GenericVnf getGenericVnf ()
57 @XmlElement(name = "generic-vnf")
58 public void setGenericVnf (GenericVnf genericVnf)
60 this.genericVnf = genericVnf;
64 public String toString()
66 return " [generic-vnf = "+genericVnf+"]";
68 @XmlElement(name = "complex")
69 public Complex getComplex() {
72 @XmlElement(name = "complex")
73 public void setComplex(Complex complex) {
74 this.complex = complex;
76 @XmlElement(name = "pserver")
77 public Pserver getPserver() {
80 @XmlElement(name = "pserver")
81 public void setPserver(Pserver pserver) {
82 this.pserver = pserver;