📄 report.java
字号:
/*
* 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 java.io.IOException;
import java.io.Reader;
import java.io.Serializable;
import java.io.Writer;
import java.util.ArrayList;
import java.util.Enumeration;
import org.exolab.castor.xml.MarshalException;
import org.exolab.castor.xml.Marshaller;
import org.exolab.castor.xml.Unmarshaller;
import org.exolab.castor.xml.ValidationException;
import org.xml.sax.ContentHandler;
/**
* Class Report.
*
* @version $Revision$ $Date$
*/
public class Report extends com.queplix.core.utils.jxb.JXBObject
implements java.io.Serializable
{
//--------------------------/
//- Class/Member Variables -/
//--------------------------/
/**
* Field _processId
*/
private java.lang.Long _processId;
/**
* Field _printPage
*/
private java.lang.Boolean _printPage;
/**
* Field _lastAccessDate
*/
private java.lang.Long _lastAccessDate;
/**
* Field _ignoreIncludeToReport
*/
private java.lang.Boolean _ignoreIncludeToReport = new java.lang.Boolean("false");
/**
* Field _reqsList
*/
private java.util.ArrayList _reqsList;
/**
* Field _reportAttrs
*/
private com.queplix.core.modules.eqlext.jxb.gr.ReportAttrs _reportAttrs;
/**
* Field _reportiter
*/
private com.queplix.core.modules.eqlext.jxb.gr.Reportiter _reportiter;
//----------------/
//- Constructors -/
//----------------/
public Report()
{
super();
_reqsList = new ArrayList();
} //-- com.queplix.core.modules.eqlext.jxb.gr.Report()
//-----------/
//- Methods -/
//-----------/
/**
* Method addReqs
*
*
*
* @param vReqs
*/
public void addReqs(com.queplix.core.modules.eqlext.jxb.gr.Reqs vReqs)
throws java.lang.IndexOutOfBoundsException
{
_reqsList.add(vReqs);
} //-- void addReqs(com.queplix.core.modules.eqlext.jxb.gr.Reqs)
/**
* Method addReqs
*
*
*
* @param index
* @param vReqs
*/
public void addReqs(int index, com.queplix.core.modules.eqlext.jxb.gr.Reqs vReqs)
throws java.lang.IndexOutOfBoundsException
{
_reqsList.add(index, vReqs);
} //-- void addReqs(int, com.queplix.core.modules.eqlext.jxb.gr.Reqs)
/**
* Method clearReqs
*
*/
public void clearReqs()
{
_reqsList.clear();
} //-- void clearReqs()
/**
* Method enumerateReqs
*
*
*
* @return Enumeration
*/
public java.util.Enumeration enumerateReqs()
{
return new org.exolab.castor.util.IteratorEnumeration(_reqsList.iterator());
} //-- java.util.Enumeration enumerateReqs()
/**
* Returns the value of field 'ignoreIncludeToReport'.
*
* @return Boolean
* @return the value of field 'ignoreIncludeToReport'.
*/
public java.lang.Boolean getIgnoreIncludeToReport()
{
return this._ignoreIncludeToReport;
} //-- java.lang.Boolean getIgnoreIncludeToReport()
/**
* Returns the value of field 'lastAccessDate'.
*
* @return Long
* @return the value of field 'lastAccessDate'.
*/
public java.lang.Long getLastAccessDate()
{
return this._lastAccessDate;
} //-- java.lang.Long getLastAccessDate()
/**
* Returns the value of field 'printPage'.
*
* @return Boolean
* @return the value of field 'printPage'.
*/
public java.lang.Boolean getPrintPage()
{
return this._printPage;
} //-- java.lang.Boolean getPrintPage()
/**
* Returns the value of field 'processId'.
*
* @return Long
* @return the value of field 'processId'.
*/
public java.lang.Long getProcessId()
{
return this._processId;
} //-- java.lang.Long getProcessId()
/**
* Returns the value of field 'reportAttrs'.
*
* @return ReportAttrs
* @return the value of field 'reportAttrs'.
*/
public com.queplix.core.modules.eqlext.jxb.gr.ReportAttrs getReportAttrs()
{
return this._reportAttrs;
} //-- com.queplix.core.modules.eqlext.jxb.gr.ReportAttrs getReportAttrs()
/**
* Returns the value of field 'reportiter'.
*
* @return Reportiter
* @return the value of field 'reportiter'.
*/
public com.queplix.core.modules.eqlext.jxb.gr.Reportiter getReportiter()
{
return this._reportiter;
} //-- com.queplix.core.modules.eqlext.jxb.gr.Reportiter getReportiter()
/**
* Method getReqs
*
*
*
* @param index
* @return Reqs
*/
public com.queplix.core.modules.eqlext.jxb.gr.Reqs getReqs(int index)
throws java.lang.IndexOutOfBoundsException
{
//-- check bounds for index
if ((index < 0) || (index > _reqsList.size())) {
throw new IndexOutOfBoundsException();
}
return (com.queplix.core.modules.eqlext.jxb.gr.Reqs) _reqsList.get(index);
} //-- com.queplix.core.modules.eqlext.jxb.gr.Reqs getReqs(int)
/**
* Method getReqs
*
*
*
* @return Reqs
*/
public com.queplix.core.modules.eqlext.jxb.gr.Reqs[] getReqs()
{
int size = _reqsList.size();
com.queplix.core.modules.eqlext.jxb.gr.Reqs[] mArray = new com.queplix.core.modules.eqlext.jxb.gr.Reqs[size];
for (int index = 0; index < size; index++) {
mArray[index] = (com.queplix.core.modules.eqlext.jxb.gr.Reqs) _reqsList.get(index);
}
return mArray;
} //-- com.queplix.core.modules.eqlext.jxb.gr.Reqs[] getReqs()
/**
* Method getReqsCount
*
*
*
* @return int
*/
public int getReqsCount()
{
return _reqsList.size();
} //-- int getReqsCount()
/**
* 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)
/**
* Method removeReqs
*
*
*
* @param vReqs
* @return boolean
*/
public boolean removeReqs(com.queplix.core.modules.eqlext.jxb.gr.Reqs vReqs)
{
boolean removed = _reqsList.remove(vReqs);
return removed;
} //-- boolean removeReqs(com.queplix.core.modules.eqlext.jxb.gr.Reqs)
/**
* Sets the value of field 'ignoreIncludeToReport'.
*
* @param ignoreIncludeToReport the value of field
* 'ignoreIncludeToReport'.
*/
public void setIgnoreIncludeToReport(java.lang.Boolean ignoreIncludeToReport)
{
this._ignoreIncludeToReport = ignoreIncludeToReport;
} //-- void setIgnoreIncludeToReport(java.lang.Boolean)
/**
* Sets the value of field 'lastAccessDate'.
*
* @param lastAccessDate the value of field 'lastAccessDate'.
*/
public void setLastAccessDate(java.lang.Long lastAccessDate)
{
this._lastAccessDate = lastAccessDate;
} //-- void setLastAccessDate(java.lang.Long)
/**
* Sets the value of field 'printPage'.
*
* @param printPage the value of field 'printPage'.
*/
public void setPrintPage(java.lang.Boolean printPage)
{
this._printPage = printPage;
} //-- void setPrintPage(java.lang.Boolean)
/**
* Sets the value of field 'processId'.
*
* @param processId the value of field 'processId'.
*/
public void setProcessId(java.lang.Long processId)
{
this._processId = processId;
} //-- void setProcessId(java.lang.Long)
/**
* Sets the value of field 'reportAttrs'.
*
* @param reportAttrs the value of field 'reportAttrs'.
*/
public void setReportAttrs(com.queplix.core.modules.eqlext.jxb.gr.ReportAttrs reportAttrs)
{
this._reportAttrs = reportAttrs;
} //-- void setReportAttrs(com.queplix.core.modules.eqlext.jxb.gr.ReportAttrs)
/**
* Sets the value of field 'reportiter'.
*
* @param reportiter the value of field 'reportiter'.
*/
public void setReportiter(com.queplix.core.modules.eqlext.jxb.gr.Reportiter reportiter)
{
this._reportiter = reportiter;
} //-- void setReportiter(com.queplix.core.modules.eqlext.jxb.gr.Reportiter)
/**
* Method setReqs
*
*
*
* @param index
* @param vReqs
*/
public void setReqs(int index, com.queplix.core.modules.eqlext.jxb.gr.Reqs vReqs)
throws java.lang.IndexOutOfBoundsException
{
//-- check bounds for index
if ((index < 0) || (index > _reqsList.size())) {
throw new IndexOutOfBoundsException();
}
_reqsList.set(index, vReqs);
} //-- void setReqs(int, com.queplix.core.modules.eqlext.jxb.gr.Reqs)
/**
* Method setReqs
*
*
*
* @param reqsArray
*/
public void setReqs(com.queplix.core.modules.eqlext.jxb.gr.Reqs[] reqsArray)
{
//-- copy array
_reqsList.clear();
for (int i = 0; i < reqsArray.length; i++) {
_reqsList.add(reqsArray[i]);
}
} //-- void setReqs(com.queplix.core.modules.eqlext.jxb.gr.Reqs)
/**
* 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.Report) Unmarshaller.unmarshal(com.queplix.core.modules.eqlext.jxb.gr.Report.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()
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -