From 09b58e1832480e9529124ae422f040028546daff Mon Sep 17 00:00:00 2001 From: Dan Timoney Date: Wed, 15 Feb 2017 14:59:20 -0500 Subject: Initial commit for OpenECOMP SDN-C adaptors Change-Id: I8d42e44d15fd85aee5b00d27e45da6751dda02b9 Signed-off-by: Dan Timoney --- .../openecomp/aai/inventory/v8/ModelElements.java | 81 ++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 aai-service/provider/src/main/java/org/openecomp/aai/inventory/v8/ModelElements.java (limited to 'aai-service/provider/src/main/java/org/openecomp/aai/inventory/v8/ModelElements.java') diff --git a/aai-service/provider/src/main/java/org/openecomp/aai/inventory/v8/ModelElements.java b/aai-service/provider/src/main/java/org/openecomp/aai/inventory/v8/ModelElements.java new file mode 100644 index 0000000..3f59b69 --- /dev/null +++ b/aai-service/provider/src/main/java/org/openecomp/aai/inventory/v8/ModelElements.java @@ -0,0 +1,81 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2017.02.14 at 01:05:25 PM EST +// + + +package org.openecomp.aai.inventory.v8; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; +import org.openecomp.sdnc.sli.aai.data.AAIDatum; + + +/** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element ref="{http://org.openecomp.aai.inventory/v8}model-element" maxOccurs="unbounded" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "modelElement" +}) +@XmlRootElement(name = "model-elements") +public class ModelElements + implements AAIDatum +{ + + @XmlElement(name = "model-element") + protected List modelElement; + + /** + * Gets the value of the modelElement property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the modelElement property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getModelElement().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link ModelElement } + * + * + */ + public List getModelElement() { + if (modelElement == null) { + modelElement = new ArrayList(); + } + return this.modelElement; + } + +} -- cgit 1.2.3-korg