
package cdpp3dview.params;

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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
import cdpp3dview.types.Frame;
import cdpp3dview.types.TimeFile;


/**
 * <p>Java class for anonymous complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType>
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="pBodyId" type="{http://www.w3.org/2001/XMLSchema}int" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element name="pFrame" type="{http://cdpp3dview/types}Frame"/>
 *         &lt;element name="pCenterId" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="pTimes" type="{http://www.w3.org/2001/XMLSchema}dateTime" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element name="pTimeFiles" type="{http://cdpp3dview/types}TimeFile" maxOccurs="unbounded" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "pBodyId",
    "pFrame",
    "pCenterId",
    "pTimes",
    "pTimeFiles"
})
@XmlRootElement(name = "listOrbData2")
public class ListOrbData2 {

    @XmlElement(type = Integer.class)
    protected List<Integer> pBodyId;
    @XmlElement(required = true)
    protected Frame pFrame;
    protected int pCenterId;
    @XmlSchemaType(name = "dateTime")
    protected List<XMLGregorianCalendar> pTimes;
    protected List<TimeFile> pTimeFiles;

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

    /**
     * Gets the value of the pFrame property.
     * 
     * @return
     *     possible object is
     *     {@link Frame }
     *     
     */
    public Frame getPFrame() {
        return pFrame;
    }

    /**
     * Sets the value of the pFrame property.
     * 
     * @param value
     *     allowed object is
     *     {@link Frame }
     *     
     */
    public void setPFrame(Frame value) {
        this.pFrame = value;
    }

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

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

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

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

}
