public class Report extends Object implements Serializable
Constructor and Description |
---|
Report() |
Modifier and Type | Method and Description |
---|---|
void |
addParameter(int index,
Parameter vParameter) |
void |
addParameter(Parameter vParameter) |
void |
addRecipient(int index,
String vRecipient) |
void |
addRecipient(String vRecipient) |
Enumeration<Parameter> |
enumerateParameter()
Method enumerateParameter.
|
Enumeration<String> |
enumerateRecipient()
Method enumerateRecipient.
|
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method.
|
String |
getCronSchedule()
Returns the value of field 'cronSchedule'.
|
String |
getMailer()
Returns the value of field 'mailer'.
|
Parameter[] |
getParameter()
Method getParameter.Returns the contents of the collection
in an Array.
|
Parameter |
getParameter(int index)
Method getParameter.
|
List<Parameter> |
getParameterCollection()
Method getParameterCollection.Returns a reference to
'_parameterList'.
|
int |
getParameterCount()
Method getParameterCount.
|
String[] |
getRecipient()
Method getRecipient.Returns the contents of the collection
in an Array.
|
String |
getRecipient(int index)
Method getRecipient.
|
List<String> |
getRecipientCollection()
Method getRecipientCollection.Returns a reference to
'_recipientList'.
|
int |
getRecipientCount()
Method getRecipientCount.
|
String |
getReportEngine()
Returns the value of field 'reportEngine'.
|
String |
getReportFormat()
Returns the value of field 'reportFormat'.
|
String |
getReportName()
Returns the value of field 'reportName'.
|
String |
getReportTemplate()
Returns the value of field 'reportTemplate'.
|
int |
hashCode()
Overrides the java.lang.Object.hashCode method.
|
boolean |
isValid()
Method isValid.
|
Iterator<Parameter> |
iterateParameter()
Method iterateParameter.
|
Iterator<String> |
iterateRecipient()
Method iterateRecipient.
|
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
void |
removeAllParameter() |
void |
removeAllRecipient() |
boolean |
removeParameter(Parameter vParameter)
Method removeParameter.
|
Parameter |
removeParameterAt(int index)
Method removeParameterAt.
|
boolean |
removeRecipient(String vRecipient)
Method removeRecipient.
|
String |
removeRecipientAt(int index)
Method removeRecipientAt.
|
void |
setCronSchedule(String cronSchedule)
Sets the value of field 'cronSchedule'.
|
void |
setMailer(String mailer)
Sets the value of field 'mailer'.
|
void |
setParameter(int index,
Parameter vParameter) |
void |
setParameter(List<Parameter> vParameterList)
Sets the value of '_parameterList' by copying the given
Vector.
|
void |
setParameter(Parameter[] vParameterArray) |
void |
setParameterCollection(List<Parameter> parameterList)
Deprecated.
|
void |
setRecipient(int index,
String vRecipient) |
void |
setRecipient(List<String> vRecipientList)
Sets the value of '_recipientList' by copying the given
Vector.
|
void |
setRecipient(String[] vRecipientArray) |
void |
setRecipientCollection(List<String> recipientList)
Deprecated.
|
void |
setReportEngine(String reportEngine)
Sets the value of field 'reportEngine'.
|
void |
setReportFormat(String reportFormat)
Sets the value of field 'reportFormat'.
|
void |
setReportName(String reportName)
Sets the value of field 'reportName'.
|
void |
setReportTemplate(String reportTemplate)
Sets the value of field 'reportTemplate'.
|
static Report |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
public void addParameter(Parameter vParameter) throws IndexOutOfBoundsException
vParameter
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addParameter(int index, Parameter vParameter) throws IndexOutOfBoundsException
index
- vParameter
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addRecipient(String vRecipient) throws IndexOutOfBoundsException
vRecipient
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addRecipient(int index, String vRecipient) throws IndexOutOfBoundsException
index
- vRecipient
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Enumeration<Parameter> enumerateParameter()
public Enumeration<String> enumerateRecipient()
public boolean equals(Object obj)
public String getCronSchedule()
public String getMailer()
public Parameter getParameter(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Parameter[] getParameter()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<Parameter> getParameterCollection()
public int getParameterCount()
public String getRecipient(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic String[] getRecipient()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<String> getRecipientCollection()
public int getRecipientCount()
public String getReportEngine()
public String getReportFormat()
public String getReportName()
public String getReportTemplate()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
public boolean isValid()
public Iterator<Parameter> iterateParameter()
public Iterator<String> iterateRecipient()
public void marshal(Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
out
- org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void marshal(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
- IOException
- if an IOException occurs during
marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaorg.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingpublic void removeAllParameter()
public void removeAllRecipient()
public boolean removeParameter(Parameter vParameter)
vParameter
- public Parameter removeParameterAt(int index)
index
- public boolean removeRecipient(String vRecipient)
vRecipient
- public String removeRecipientAt(int index)
index
- public void setCronSchedule(String cronSchedule)
cronSchedule
- the value of field 'cronSchedule'.public void setMailer(String mailer)
mailer
- the value of field 'mailer'.public void setParameter(int index, Parameter vParameter) throws IndexOutOfBoundsException
index
- vParameter
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setParameter(Parameter[] vParameterArray)
vParameterArray
- public void setParameter(List<Parameter> vParameterList)
vParameterList
- the Vector to copy.public void setParameterCollection(List<Parameter> parameterList)
parameterList
- the Vector to set.public void setRecipient(int index, String vRecipient) throws IndexOutOfBoundsException
index
- vRecipient
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setRecipient(String[] vRecipientArray)
vRecipientArray
- public void setRecipient(List<String> vRecipientList)
vRecipientList
- the Vector to copy.public void setRecipientCollection(List<String> recipientList)
recipientList
- the Vector to set.public void setReportEngine(String reportEngine)
reportEngine
- the value of field 'reportEngine'.public void setReportFormat(String reportFormat)
reportFormat
- the value of field 'reportFormat'.public void setReportName(String reportName)
reportName
- the value of field 'reportName'.public void setReportTemplate(String reportTemplate)
reportTemplate
- the value of field 'reportTemplate'.public static Report unmarshal(Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader
- org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaCopyright © 2017. All rights reserved.