/*
 * This class was automatically generated with 
 * <a href="http://www.castor.org">Castor 0.9.7</a>, using an XML
 * Schema.
 * $Id$
 */

package com.queplix.core.modules.eqlext.jxb.gr;

//---------------------------------/
//- Imported classes and packages -/
//---------------------------------/

import org.exolab.castor.xml.Marshaller;
import org.exolab.castor.xml.Unmarshaller;

/**
 * Class Reportiter.
 *
 * @version $Revision$ $Date$
 */
public class Reportiter extends com.queplix.core.utils.jxb.JXBObject
        implements java.io.Serializable {

    //--------------------------/
    //- Class/Member Variables -/
    //--------------------------/

    /**
     * Field _iterId
     */
    private java.lang.Long _iterId;

    /**
     * Field _isFirst
     */
    private java.lang.Boolean _isFirst;

    /**
     * Field _isLast
     */
    private java.lang.Boolean _isLast;

    /**
     * Field _iterTitle
     */
    private java.lang.String _iterTitle;

    /**
     * Field _ress
     */
    private com.queplix.core.modules.eqlext.jxb.gr.Ress _ress;

    //----------------/
    //- Constructors -/
    //----------------/

    public Reportiter() {
        super();
    } //-- com.queplix.core.modules.eqlext.jxb.gr.Reportiter()

    //-----------/
    //- Methods -/
    //-----------/

    /**
     * Returns the value of field 'isFirst'.
     *
     * @return the value of field 'isFirst'.
     */
    public java.lang.Boolean getIsFirst() {
        return this._isFirst;
    } //-- java.lang.Boolean getIsFirst() 

    /**
     * Returns the value of field 'isLast'.
     *
     * @return the value of field 'isLast'.
     */
    public java.lang.Boolean getIsLast() {
        return this._isLast;
    } //-- java.lang.Boolean getIsLast() 

    /**
     * Returns the value of field 'iterId'.
     *
     * @return the value of field 'iterId'.
     */
    public java.lang.Long getIterId() {
        return this._iterId;
    } //-- java.lang.Long getIterId() 

    /**
     * Returns the value of field 'iterTitle'.
     *
     * @return the value of field 'iterTitle'.
     */
    public java.lang.String getIterTitle() {
        return this._iterTitle;
    } //-- java.lang.String getIterTitle() 

    /**
     * Returns the value of field 'ress'.
     *
     * @return the value of field 'ress'.
     */
    public com.queplix.core.modules.eqlext.jxb.gr.Ress getRess() {
        return this._ress;
    } //-- com.queplix.core.modules.eqlext.jxb.gr.Ress getRess() 

    /**
     * Method isValid
     *
     * @return boolean
     */
    public boolean isValid() {
        try {
            validate();
        }
        catch (org.exolab.castor.xml.ValidationException vex) {
            return false;
        }
        return true;
    } //-- boolean isValid() 

    /**
     * Method marshal
     *
     * @param out
     */
    public void marshal(java.io.Writer out)
            throws org.exolab.castor.xml.MarshalException,
            org.exolab.castor.xml.ValidationException {

        Marshaller.marshal(this, out);
    } //-- void marshal(java.io.Writer) 

    /**
     * Method marshal
     *
     * @param handler
     */
    public void marshal(org.xml.sax.ContentHandler handler)
            throws java.io.IOException, org.exolab.castor.xml.MarshalException,
            org.exolab.castor.xml.ValidationException {

        Marshaller.marshal(this, handler);
    } //-- void marshal(org.xml.sax.ContentHandler) 

    /**
     * Sets the value of field 'isFirst'.
     *
     * @param isFirst the value of field 'isFirst'.
     */
    public void setIsFirst(java.lang.Boolean isFirst) {
        this._isFirst = isFirst;
    } //-- void setIsFirst(java.lang.Boolean) 

    /**
     * Sets the value of field 'isLast'.
     *
     * @param isLast the value of field 'isLast'.
     */
    public void setIsLast(java.lang.Boolean isLast) {
        this._isLast = isLast;
    } //-- void setIsLast(java.lang.Boolean) 

    /**
     * Sets the value of field 'iterId'.
     *
     * @param iterId the value of field 'iterId'.
     */
    public void setIterId(java.lang.Long iterId) {
        this._iterId = iterId;
    } //-- void setIterId(java.lang.Long) 

    /**
     * Sets the value of field 'iterTitle'.
     *
     * @param iterTitle the value of field 'iterTitle'.
     */
    public void setIterTitle(java.lang.String iterTitle) {
        this._iterTitle = iterTitle;
    } //-- void setIterTitle(java.lang.String) 

    /**
     * Sets the value of field 'ress'.
     *
     * @param ress the value of field 'ress'.
     */
    public void setRess(com.queplix.core.modules.eqlext.jxb.gr.Ress ress) {
        this._ress = ress;
    } //-- void setRess(com.queplix.core.modules.eqlext.jxb.gr.Ress) 

    /**
     * Method unmarshal
     *
     * @param reader
     * @return Object
     */
    public static java.lang.Object unmarshal(java.io.Reader reader)
            throws org.exolab.castor.xml.MarshalException,
            org.exolab.castor.xml.ValidationException {
        return (com.queplix.core.modules.eqlext.jxb.gr.Reportiter) Unmarshaller
                .unmarshal(
                        com.queplix.core.modules.eqlext.jxb.gr.Reportiter.class,
                        reader);
    } //-- java.lang.Object unmarshal(java.io.Reader) 

    /**
     * Method validate
     */
    public void validate()
            throws org.exolab.castor.xml.ValidationException {
        org.exolab.castor.xml.Validator validator
                = new org.exolab.castor.xml.Validator();
        validator.validate(this);
    } //-- void validate() 

}
