
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.XmlType;
import gov.niem.niem.fbi._2.LITCodeType;


/**
 * <p>Java class for ConveyanceRegistrationType complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="ConveyanceRegistrationType">
 *   &lt;complexContent>
 *     &lt;extension base="{http://niem.gov/niem/niem-core/2.0}ItemRegistrationType">
 *       &lt;sequence>
 *         &lt;element ref="{http://niem.gov/niem/niem-core/2.0}ConveyanceRegistrationPlateIdentification" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element ref="{http://niem.gov/niem/niem-core/2.0}ConveyanceRegistrationPlateCategory" maxOccurs="unbounded" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/extension>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ConveyanceRegistrationType", propOrder = {
    "conveyanceRegistrationPlateIdentification",
    "conveyanceRegistrationPlateCategory"
})
public class ConveyanceRegistrationType
    extends ItemRegistrationType
{

    @XmlElement(name = "ConveyanceRegistrationPlateIdentification", nillable = true)
    protected List<IdentificationType> conveyanceRegistrationPlateIdentification;
    @XmlElementRef(name = "ConveyanceRegistrationPlateCategory", namespace = "http://niem.gov/niem/niem-core/2.0", type = JAXBElement.class, required = false)
    protected List<JAXBElement<?>> conveyanceRegistrationPlateCategory;

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

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

}
