/*
 * 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 ReportAttrs.
 *
 * @version $Revision$ $Date$
 */
public class ReportAttrs extends com.queplix.core.utils.jxb.JXBObject
        implements java.io.Serializable {

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

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

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

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

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

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

    /**
     * Field _headerFontSize
     */
    private java.lang.Integer _headerFontSize;

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

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

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

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

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

    /**
     * Field _evenFontSize
     */
    private java.lang.Integer _evenFontSize;

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

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

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

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

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

    /**
     * Field _oddFontSize
     */
    private java.lang.Integer _oddFontSize;

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

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

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

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

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

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

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

    /**
     * Returns the value of field 'evenBackColor'.
     *
     * @return the value of field 'evenBackColor'.
     */
    public java.lang.String getEvenBackColor() {
        return this._evenBackColor;
    } //-- java.lang.String getEvenBackColor() 

    /**
     * Returns the value of field 'evenBold'.
     *
     * @return the value of field 'evenBold'.
     */
    public java.lang.Boolean getEvenBold() {
        return this._evenBold;
    } //-- java.lang.Boolean getEvenBold() 

    /**
     * Returns the value of field 'evenFontName'.
     *
     * @return the value of field 'evenFontName'.
     */
    public java.lang.String getEvenFontName() {
        return this._evenFontName;
    } //-- java.lang.String getEvenFontName() 

    /**
     * Returns the value of field 'evenFontSize'.
     *
     * @return the value of field 'evenFontSize'.
     */
    public java.lang.Integer getEvenFontSize() {
        return this._evenFontSize;
    } //-- java.lang.Integer getEvenFontSize() 

    /**
     * Returns the value of field 'evenForeColor'.
     *
     * @return the value of field 'evenForeColor'.
     */
    public java.lang.String getEvenForeColor() {
        return this._evenForeColor;
    } //-- java.lang.String getEvenForeColor() 

    /**
     * Returns the value of field 'evenItalic'.
     *
     * @return the value of field 'evenItalic'.
     */
    public java.lang.Boolean getEvenItalic() {
        return this._evenItalic;
    } //-- java.lang.Boolean getEvenItalic() 

    /**
     * Returns the value of field 'headerBackColor'.
     *
     * @return the value of field 'headerBackColor'.
     */
    public java.lang.String getHeaderBackColor() {
        return this._headerBackColor;
    } //-- java.lang.String getHeaderBackColor() 

    /**
     * Returns the value of field 'headerBold'.
     *
     * @return the value of field 'headerBold'.
     */
    public java.lang.Boolean getHeaderBold() {
        return this._headerBold;
    } //-- java.lang.Boolean getHeaderBold() 

    /**
     * Returns the value of field 'headerFontName'.
     *
     * @return the value of field 'headerFontName'.
     */
    public java.lang.String getHeaderFontName() {
        return this._headerFontName;
    } //-- java.lang.String getHeaderFontName() 

    /**
     * Returns the value of field 'headerFontSize'.
     *
     * @return the value of field 'headerFontSize'.
     */
    public java.lang.Integer getHeaderFontSize() {
        return this._headerFontSize;
    } //-- java.lang.Integer getHeaderFontSize() 

    /**
     * Returns the value of field 'headerForeColor'.
     *
     * @return the value of field 'headerForeColor'.
     */
    public java.lang.String getHeaderForeColor() {
        return this._headerForeColor;
    } //-- java.lang.String getHeaderForeColor() 

    /**
     * Returns the value of field 'headerItalic'.
     *
     * @return the value of field 'headerItalic'.
     */
    public java.lang.Boolean getHeaderItalic() {
        return this._headerItalic;
    } //-- java.lang.Boolean getHeaderItalic() 

    /**
     * Returns the value of field 'oddBackColor'.
     *
     * @return the value of field 'oddBackColor'.
     */
    public java.lang.String getOddBackColor() {
        return this._oddBackColor;
    } //-- java.lang.String getOddBackColor() 

    /**
     * Returns the value of field 'oddBold'.
     *
     * @return the value of field 'oddBold'.
     */
    public java.lang.Boolean getOddBold() {
        return this._oddBold;
    } //-- java.lang.Boolean getOddBold() 

    /**
     * Returns the value of field 'oddFontName'.
     *
     * @return the value of field 'oddFontName'.
     */
    public java.lang.String getOddFontName() {
        return this._oddFontName;
    } //-- java.lang.String getOddFontName() 

    /**
     * Returns the value of field 'oddFontSize'.
     *
     * @return the value of field 'oddFontSize'.
     */
    public java.lang.Integer getOddFontSize() {
        return this._oddFontSize;
    } //-- java.lang.Integer getOddFontSize() 

    /**
     * Returns the value of field 'oddForeColor'.
     *
     * @return the value of field 'oddForeColor'.
     */
    public java.lang.String getOddForeColor() {
        return this._oddForeColor;
    } //-- java.lang.String getOddForeColor() 

    /**
     * Returns the value of field 'oddItalic'.
     *
     * @return the value of field 'oddItalic'.
     */
    public java.lang.Boolean getOddItalic() {
        return this._oddItalic;
    } //-- java.lang.Boolean getOddItalic() 

    /**
     * Returns the value of field 'pageFooter'.
     *
     * @return the value of field 'pageFooter'.
     */
    public java.lang.String getPageFooter() {
        return this._pageFooter;
    } //-- java.lang.String getPageFooter() 

    /**
     * Returns the value of field 'pageHeader'.
     *
     * @return the value of field 'pageHeader'.
     */
    public java.lang.String getPageHeader() {
        return this._pageHeader;
    } //-- java.lang.String getPageHeader() 

    /**
     * Returns the value of field 'reportFooter'.
     *
     * @return the value of field 'reportFooter'.
     */
    public java.lang.String getReportFooter() {
        return this._reportFooter;
    } //-- java.lang.String getReportFooter() 

    /**
     * Returns the value of field 'reportHeader'.
     *
     * @return the value of field 'reportHeader'.
     */
    public java.lang.String getReportHeader() {
        return this._reportHeader;
    } //-- java.lang.String getReportHeader() 

    /**
     * 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 'evenBackColor'.
     *
     * @param evenBackColor the value of field 'evenBackColor'.
     */
    public void setEvenBackColor(java.lang.String evenBackColor) {
        this._evenBackColor = evenBackColor;
    } //-- void setEvenBackColor(java.lang.String) 

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

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

    /**
     * Sets the value of field 'evenFontSize'.
     *
     * @param evenFontSize the value of field 'evenFontSize'.
     */
    public void setEvenFontSize(java.lang.Integer evenFontSize) {
        this._evenFontSize = evenFontSize;
    } //-- void setEvenFontSize(java.lang.Integer) 

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

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

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

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

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

    /**
     * Sets the value of field 'headerFontSize'.
     *
     * @param headerFontSize the value of field 'headerFontSize'.
     */
    public void setHeaderFontSize(java.lang.Integer headerFontSize) {
        this._headerFontSize = headerFontSize;
    } //-- void setHeaderFontSize(java.lang.Integer) 

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

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

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

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

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

    /**
     * Sets the value of field 'oddFontSize'.
     *
     * @param oddFontSize the value of field 'oddFontSize'.
     */
    public void setOddFontSize(java.lang.Integer oddFontSize) {
        this._oddFontSize = oddFontSize;
    } //-- void setOddFontSize(java.lang.Integer) 

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

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

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

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

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

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

    /**
     * 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.ReportAttrs) Unmarshaller
                .unmarshal(
                        com.queplix.core.modules.eqlext.jxb.gr.ReportAttrs.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() 

}
