
package gov.niem.niem.niem_core._2;

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.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import gov.niem.niem.fbi._2.VMACodeType;
import gov.niem.niem.fbi._2.VMOCodeType;


/**
 * <p>Java class for VehicleType complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="VehicleType">
 *   &lt;complexContent>
 *     &lt;extension base="{http://niem.gov/niem/niem-core/2.0}ConveyanceType">
 *       &lt;sequence>
 *         &lt;element ref="{http://niem.gov/niem/niem-core/2.0}VehicleIdentification" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element ref="{http://niem.gov/niem/niem-core/2.0}VehicleMakeCode" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element ref="{http://niem.gov/niem/niem-core/2.0}VehicleModelCode" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element ref="{http://niem.gov/niem/niem-core/2.0}ItemOwnershipCategoryText" maxOccurs="unbounded" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/extension>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "VehicleType", propOrder = {
    "vehicleIdentification",
    "vehicleMakeCode",
    "vehicleModelCode",
    "itemOwnershipCategoryText"
})
@XmlSeeAlso({
    CommercialVehicleType.class
})
public class VehicleType
    extends ConveyanceType
{

    @XmlElement(name = "VehicleIdentification", nillable = true)
    protected List<IdentificationType> vehicleIdentification;
    @XmlElement(name = "VehicleMakeCode", nillable = true)
    protected List<VMACodeType> vehicleMakeCode;
    @XmlElement(name = "VehicleModelCode", nillable = true)
    protected List<VMOCodeType> vehicleModelCode;
    @XmlElement(name = "ItemOwnershipCategoryText", nillable = true)
    protected List<TextType> itemOwnershipCategoryText;

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

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

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

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

}
