public class Report extends Object implements Serializable
Constructor and Description |
---|
Report() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method.
|
String |
getHtmlTemplate()
Returns the value of field 'htmlTemplate'.
|
String |
getId()
Returns the value of field 'id'.
|
String |
getLogo()
Returns the value of field 'logo'.
|
Parameters |
getParameters()
Returns the value of field 'parameters'.
|
String |
getPdfTemplate()
Returns the value of field 'pdfTemplate'.
|
String |
getSvgTemplate()
Returns the value of field 'svgTemplate'.
|
String |
getType()
Returns the value of field 'type'.
|
int |
hashCode()
Overrides the java.lang.Object.hashCode method.
|
boolean |
isValid()
Method isValid.
|
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
void |
setHtmlTemplate(String htmlTemplate)
Sets the value of field 'htmlTemplate'.
|
void |
setId(String id)
Sets the value of field 'id'.
|
void |
setLogo(String logo)
Sets the value of field 'logo'.
|
void |
setParameters(Parameters parameters)
Sets the value of field 'parameters'.
|
void |
setPdfTemplate(String pdfTemplate)
Sets the value of field 'pdfTemplate'.
|
void |
setSvgTemplate(String svgTemplate)
Sets the value of field 'svgTemplate'.
|
void |
setType(String type)
Sets the value of field 'type'.
|
static Report |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
public boolean equals(Object obj)
public String getHtmlTemplate()
public String getId()
public String getLogo()
public Parameters getParameters()
public String getPdfTemplate()
public String getSvgTemplate()
public String getType()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
public boolean isValid()
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 setHtmlTemplate(String htmlTemplate)
htmlTemplate
- the value of field 'htmlTemplate'.public void setId(String id)
id
- the value of field 'id'.public void setLogo(String logo)
logo
- the value of field 'logo'.public void setParameters(Parameters parameters)
parameters
- the value of field 'parameters'.public void setPdfTemplate(String pdfTemplate)
pdfTemplate
- the value of field 'pdfTemplate'.public void setSvgTemplate(String svgTemplate)
svgTemplate
- the value of field 'svgTemplate'.public void setType(String type)
type
- the value of field 'type'.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 © 2016. All rights reserved.