//
// 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: 2016.02.08 at 03:02:05 PM PST 
//


package com.wb.nextgenlibrary.parser.manifest.schema.v1_4;

import java.util.ArrayList;
import java.util.List;
import com.wb.nextgenlibrary.parser.XmlAccessType;
import com.wb.nextgenlibrary.parser.XmlAccessorType;
import com.wb.nextgenlibrary.parser.XmlElement;
import com.wb.nextgenlibrary.parser.XmlSchemaType;
import com.wb.nextgenlibrary.parser.XmlSeeAlso;
import com.wb.nextgenlibrary.parser.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
import com.wb.nextgenlibrary.parser.md.schema.v2_3.OrgNameType;


/**
 * <p>Java class for FileManifestInfo-type complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="FileManifestInfo-type"&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="PackageID" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
 *         &lt;element name="PackageDateTime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/&gt;
 *         &lt;element name="Publisher" type="{http://www.movielabs.com/schema/md/v2.3/md}OrgName-type"/&gt;
 *         &lt;element name="AvailsEntryID" type="{http://www.movielabs.com/schema/md/v2.3/md}id-type" maxOccurs="unbounded" minOccurs="0"/&gt;
 *         &lt;element name="TotalFilesInPackage" type="{http://www.w3.org/2001/XMLSchema}int"/&gt;
 *         &lt;element name="FileInfo" type="{http://www.movielabs.com/schema/manifest/v1.4/manifest}FileInfo-type" maxOccurs="unbounded"/&gt;
 *         &lt;element name="ExceptionFlag" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/&gt;
 *         &lt;element name="Comments" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
 *       &lt;/sequence&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "FileManifestInfo-type", propOrder = {
    "packageID",
    "packageDateTime",
    "publisher",
    "availsEntryID",
    "totalFilesInPackage",
    "fileInfo",
    "exceptionFlag",
    "comments"
})
@XmlSeeAlso({
    FileManifestType.class
})
public class FileManifestInfoType {

    @XmlElement(name = "PackageID", required = true)
    protected String packageID;
    @XmlElement(name = "PackageDateTime", required = true)
    @XmlSchemaType(name = "dateTime")
    protected XMLGregorianCalendar packageDateTime;
    @XmlElement(name = "Publisher", required = true)
    protected OrgNameType publisher;
    @XmlElement(name = "AvailsEntryID")
    @XmlSchemaType(name = "anyURI")
    protected List<String> availsEntryID;
    @XmlElement(name = "TotalFilesInPackage")
    protected int totalFilesInPackage;
    @XmlElement(name = "FileInfo", required = true)
    protected List<FileInfoType> fileInfo;
    @XmlElement(name = "ExceptionFlag", defaultValue = "true")
    protected Boolean exceptionFlag;
    @XmlElement(name = "Comments")
    protected String comments;

    /**
     * Gets the value of the packageID property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getPackageID() {
        return packageID;
    }

    /**
     * Sets the value of the packageID property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setPackageID(String value) {
        this.packageID = value;
    }

    /**
     * Gets the value of the packageDateTime property.
     * 
     * @return
     *     possible object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public XMLGregorianCalendar getPackageDateTime() {
        return packageDateTime;
    }

    /**
     * Sets the value of the packageDateTime property.
     * 
     * @param value
     *     allowed object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public void setPackageDateTime(XMLGregorianCalendar value) {
        this.packageDateTime = value;
    }

    /**
     * Gets the value of the publisher property.
     * 
     * @return
     *     possible object is
     *     {@link OrgNameType }
     *     
     */
    public OrgNameType getPublisher() {
        return publisher;
    }

    /**
     * Sets the value of the publisher property.
     * 
     * @param value
     *     allowed object is
     *     {@link OrgNameType }
     *     
     */
    public void setPublisher(OrgNameType value) {
        this.publisher = value;
    }

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

    /**
     * Gets the value of the totalFilesInPackage property.
     * 
     */
    public int getTotalFilesInPackage() {
        return totalFilesInPackage;
    }

    /**
     * Sets the value of the totalFilesInPackage property.
     * 
     */
    public void setTotalFilesInPackage(int value) {
        this.totalFilesInPackage = value;
    }

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

    /**
     * Gets the value of the exceptionFlag property.
     * 
     * @return
     *     possible object is
     *     {@link Boolean }
     *     
     */
    public Boolean isExceptionFlag() {
        return exceptionFlag;
    }

    /**
     * Sets the value of the exceptionFlag property.
     * 
     * @param value
     *     allowed object is
     *     {@link Boolean }
     *     
     */
    public void setExceptionFlag(Boolean value) {
        this.exceptionFlag = value;
    }

    /**
     * Gets the value of the comments property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getComments() {
        return comments;
    }

    /**
     * Sets the value of the comments property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setComments(String value) {
        this.comments = value;
    }

}
