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

package nz.co.cks.tms.xml;

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

import java.io.Reader;
import java.io.Serializable;
import java.io.Writer;
import org.exolab.castor.xml.Marshaller;
import org.exolab.castor.xml.Unmarshaller;
import org.exolab.castor.xml.ValidationException;

/**
 * Class ReportBlkType.
 * 
 * @version $Revision$ $Date$
 */
public abstract class ReportBlkType implements java.io.Serializable {


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

    /**
     * Field _reportBilling
     */
    private nz.co.cks.tms.xml.ReportBilling _reportBilling;


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

    public ReportBlkType() {
        super();
    } //-- nz.co.cks.tms.xml.ReportBlkType()


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

    /**
     * Method getReportBillingReturns the value of field
     * 'reportBilling'.
     * 
     * @return the value of field 'reportBilling'.
     */
    public nz.co.cks.tms.xml.ReportBilling getReportBilling()
    {
        return this._reportBilling;
    } //-- nz.co.cks.tms.xml.ReportBilling getReportBilling() 

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

    /**
     * Method setReportBillingSets the value of field
     * 'reportBilling'.
     * 
     * @param reportBilling the value of field 'reportBilling'.
     */
    public void setReportBilling(nz.co.cks.tms.xml.ReportBilling reportBilling)
    {
        this._reportBilling = reportBilling;
    } //-- void setReportBilling(nz.co.cks.tms.xml.ReportBilling) 

    /**
     * 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() 

}
