
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.SbCatalog;


/**
 * <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="pCenterNaifId" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="pDist" type="{http://www.w3.org/2001/XMLSchema}long"/>
 *         &lt;element name="pLstNaifIds" type="{http://www.w3.org/2001/XMLSchema}int" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element name="pMinNaifId" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="pMaxNaifId" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="pDateStart" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
 *         &lt;element name="pDateStop" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
 *         &lt;element name="pSbCatalogs" type="{http://cdpp3dview/types}SbCatalog" maxOccurs="unbounded"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "pCenterNaifId",
    "pDist",
    "pLstNaifIds",
    "pMinNaifId",
    "pMaxNaifId",
    "pDateStart",
    "pDateStop",
    "pSbCatalogs"
})
@XmlRootElement(name = "listBodiesInRegion")
public class ListBodiesInRegion {

    protected int pCenterNaifId;
    protected long pDist;
    @XmlElement(nillable = true)
    protected List<Integer> pLstNaifIds;
    protected int pMinNaifId;
    protected int pMaxNaifId;
    @XmlElement(required = true)
    @XmlSchemaType(name = "dateTime")
    protected XMLGregorianCalendar pDateStart;
    @XmlElement(required = true)
    @XmlSchemaType(name = "dateTime")
    protected XMLGregorianCalendar pDateStop;
    @XmlElement(required = true)
    protected List<SbCatalog> pSbCatalogs;

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

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

    /**
     * Gets the value of the pDist property.
     * 
     */
    public long getPDist() {
        return pDist;
    }

    /**
     * Sets the value of the pDist property.
     * 
     */
    public void setPDist(long value) {
        this.pDist = value;
    }

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

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

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

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

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

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

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

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

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

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

}
