diff options
author | Dan Timoney <dtimoney@att.com> | 2017-02-15 14:59:20 -0500 |
---|---|---|
committer | Dan Timoney <dtimoney@att.com> | 2017-02-15 15:02:52 -0500 |
commit | 09b58e1832480e9529124ae422f040028546daff (patch) | |
tree | bc9600d325250ff9ad18a7a0f78f81750bcad839 /aai-service/provider/src/main/java/org/openecomp/aai/inventory/v8/TaggedInventoryItemList.java | |
parent | 9e84a53855f414a71633d73d76a8438cb25e1b58 (diff) |
Initial commit for OpenECOMP SDN-C adaptors
Change-Id: I8d42e44d15fd85aee5b00d27e45da6751dda02b9
Signed-off-by: Dan Timoney <dtimoney@att.com>
Diffstat (limited to 'aai-service/provider/src/main/java/org/openecomp/aai/inventory/v8/TaggedInventoryItemList.java')
-rw-r--r-- | aai-service/provider/src/main/java/org/openecomp/aai/inventory/v8/TaggedInventoryItemList.java | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/aai-service/provider/src/main/java/org/openecomp/aai/inventory/v8/TaggedInventoryItemList.java b/aai-service/provider/src/main/java/org/openecomp/aai/inventory/v8/TaggedInventoryItemList.java new file mode 100644 index 0000000..8adcf9a --- /dev/null +++ b/aai-service/provider/src/main/java/org/openecomp/aai/inventory/v8/TaggedInventoryItemList.java @@ -0,0 +1,81 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// 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; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://org.openecomp.aai.inventory/v8}inventory-item" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "inventoryItem" +}) +@XmlRootElement(name = "tagged-inventory-item-list") +public class TaggedInventoryItemList + implements AAIDatum +{ + + @XmlElement(name = "inventory-item") + protected List<InventoryItem> inventoryItem; + + /** + * Gets the value of the inventoryItem property. + * + * <p> + * 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 <CODE>set</CODE> method for the inventoryItem property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getInventoryItem().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link InventoryItem } + * + * + */ + public List<InventoryItem> getInventoryItem() { + if (inventoryItem == null) { + inventoryItem = new ArrayList<InventoryItem>(); + } + return this.inventoryItem; + } + +} |