
package gov.niem.niem.niem_core._2;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import gov.niem.niem.fbi._2.VCOCodeType;
import gov.niem.niem.fbi._2.VSTCodeType;
import gov.niem.niem.proxy.xsd._2.GYear;


/**
 * <p>Java class for TangibleItemType complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="TangibleItemType">
 *   &lt;complexContent>
 *     &lt;extension base="{http://niem.gov/niem/niem-core/2.0}ItemType">
 *       &lt;sequence>
 *         &lt;element ref="{http://niem.gov/niem/niem-core/2.0}ItemColor" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element ref="{http://niem.gov/niem/niem-core/2.0}ItemModelYearDate" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element ref="{http://niem.gov/niem/niem-core/2.0}ItemStyle" maxOccurs="unbounded" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/extension>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TangibleItemType", propOrder = {
    "itemColor",
    "itemModelYearDate",
    "itemStyle"
})
@XmlSeeAlso({
    ConveyanceType.class
})
public class TangibleItemType
    extends ItemType
{

    @XmlElementRef(name = "ItemColor", namespace = "http://niem.gov/niem/niem-core/2.0", type = JAXBElement.class, required = false)
    protected List<JAXBElement<?>> itemColor;
    @XmlElement(name = "ItemModelYearDate", nillable = true)
    protected List<GYear> itemModelYearDate;
    @XmlElementRef(name = "ItemStyle", namespace = "http://niem.gov/niem/niem-core/2.0", type = JAXBElement.class, required = false)
    protected List<JAXBElement<?>> itemStyle;

    /**
     * Gets the value of the itemColor 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 itemColor property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getItemColor().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link JAXBElement }{@code <}{@link VCOCodeType }{@code >}
     * {@link JAXBElement }{@code <}{@link Object }{@code >}
     * {@link JAXBElement }{@code <}{@link VCOCodeType }{@code >}
     * 
     * 
     */
    public List<JAXBElement<?>> getItemColor() {
        if (itemColor == null) {
            itemColor = new ArrayList<JAXBElement<?>>();
        }
        return this.itemColor;
    }

    /**
     * Gets the value of the itemModelYearDate 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 itemModelYearDate property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getItemModelYearDate().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link GYear }
     * 
     * 
     */
    public List<GYear> getItemModelYearDate() {
        if (itemModelYearDate == null) {
            itemModelYearDate = new ArrayList<GYear>();
        }
        return this.itemModelYearDate;
    }

    /**
     * Gets the value of the itemStyle 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 itemStyle property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getItemStyle().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link JAXBElement }{@code <}{@link VSTCodeType }{@code >}
     * {@link JAXBElement }{@code <}{@link Object }{@code >}
     * 
     * 
     */
    public List<JAXBElement<?>> getItemStyle() {
        if (itemStyle == null) {
            itemStyle = new ArrayList<JAXBElement<?>>();
        }
        return this.itemStyle;
    }

}
