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/InventoryItem.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/InventoryItem.java')
-rw-r--r-- | aai-service/provider/src/main/java/org/openecomp/aai/inventory/v8/InventoryItem.java | 170 |
1 files changed, 170 insertions, 0 deletions
diff --git a/aai-service/provider/src/main/java/org/openecomp/aai/inventory/v8/InventoryItem.java b/aai-service/provider/src/main/java/org/openecomp/aai/inventory/v8/InventoryItem.java new file mode 100644 index 0000000..2a040eb --- /dev/null +++ b/aai-service/provider/src/main/java/org/openecomp/aai/inventory/v8/InventoryItem.java @@ -0,0 +1,170 @@ +// +// 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 name="inventory-item-type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="inventory-item-link" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element ref="{http://org.openecomp.aai.inventory/v8}inventory-item-data" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://org.openecomp.aai.inventory/v8}tagged-inventory-item-list" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "inventoryItemType", + "inventoryItemLink", + "inventoryItemData", + "taggedInventoryItemList" +}) +@XmlRootElement(name = "inventory-item") +public class InventoryItem + implements AAIDatum +{ + + @XmlElement(name = "inventory-item-type") + protected String inventoryItemType; + @XmlElement(name = "inventory-item-link") + protected String inventoryItemLink; + @XmlElement(name = "inventory-item-data") + protected List<InventoryItemData> inventoryItemData; + @XmlElement(name = "tagged-inventory-item-list") + protected List<TaggedInventoryItemList> taggedInventoryItemList; + + /** + * Gets the value of the inventoryItemType property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getInventoryItemType() { + return inventoryItemType; + } + + /** + * Sets the value of the inventoryItemType property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setInventoryItemType(String value) { + this.inventoryItemType = value; + } + + /** + * Gets the value of the inventoryItemLink property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getInventoryItemLink() { + return inventoryItemLink; + } + + /** + * Sets the value of the inventoryItemLink property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setInventoryItemLink(String value) { + this.inventoryItemLink = value; + } + + /** + * Gets the value of the inventoryItemData 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 inventoryItemData property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getInventoryItemData().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link InventoryItemData } + * + * + */ + public List<InventoryItemData> getInventoryItemData() { + if (inventoryItemData == null) { + inventoryItemData = new ArrayList<InventoryItemData>(); + } + return this.inventoryItemData; + } + + /** + * Gets the value of the taggedInventoryItemList 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 taggedInventoryItemList property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getTaggedInventoryItemList().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link TaggedInventoryItemList } + * + * + */ + public List<TaggedInventoryItemList> getTaggedInventoryItemList() { + if (taggedInventoryItemList == null) { + taggedInventoryItemList = new ArrayList<TaggedInventoryItemList>(); + } + return this.taggedInventoryItemList; + } + +} |