public class Report extends Object implements Serializable
Constructor and Description |
---|
Report() |
Modifier and Type | Method and Description |
---|---|
void |
addGraph(Graph vGraph) |
void |
addGraph(int index,
Graph vGraph) |
void |
deleteGraphs_per_line() |
void |
deleteId() |
void |
deleteShow_graphtype_button() |
void |
deleteShow_timespan_button() |
Enumeration<Graph> |
enumerateGraph()
Method enumerateGraph.
|
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method.
|
Graph[] |
getGraph()
Method getGraph.Returns the contents of the collection in an
Array.
|
Graph |
getGraph(int index)
Method getGraph.
|
List<Graph> |
getGraphCollection()
Method getGraphCollection.Returns a reference to
'_graphList'.
|
int |
getGraphCount()
Method getGraphCount.
|
int |
getGraphs_per_line()
Returns the value of field 'graphs_per_line'.
|
int |
getId()
Returns the value of field 'id'.
|
boolean |
getShow_graphtype_button()
Returns the value of field 'show_graphtype_button'.
|
boolean |
getShow_timespan_button()
Returns the value of field 'show_timespan_button'.
|
String |
getTitle()
Returns the value of field 'title'.
|
boolean |
hasGraphs_per_line()
Method hasGraphs_per_line.
|
int |
hashCode()
Overrides the java.lang.Object.hashCode method.
|
boolean |
hasId()
Method hasId.
|
boolean |
hasShow_graphtype_button()
Method hasShow_graphtype_button.
|
boolean |
hasShow_timespan_button()
Method hasShow_timespan_button.
|
boolean |
isShow_graphtype_button()
Returns the value of field 'show_graphtype_button'.
|
boolean |
isShow_timespan_button()
Returns the value of field 'show_timespan_button'.
|
boolean |
isValid()
Method isValid.
|
Iterator<Graph> |
iterateGraph()
Method iterateGraph.
|
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
void |
removeAllGraph() |
boolean |
removeGraph(Graph vGraph)
Method removeGraph.
|
Graph |
removeGraphAt(int index)
Method removeGraphAt.
|
void |
setGraph(Graph[] vGraphArray) |
void |
setGraph(int index,
Graph vGraph) |
void |
setGraph(List<Graph> vGraphList)
Sets the value of '_graphList' by copying the given Vector.
|
void |
setGraphCollection(List<Graph> graphList)
Deprecated.
|
void |
setGraphs_per_line(int graphs_per_line)
Sets the value of field 'graphs_per_line'.
|
void |
setId(int id)
Sets the value of field 'id'.
|
void |
setShow_graphtype_button(boolean show_graphtype_button)
Sets the value of field 'show_graphtype_button'.
|
void |
setShow_timespan_button(boolean show_timespan_button)
Sets the value of field 'show_timespan_button'.
|
void |
setTitle(String title)
Sets the value of field 'title'.
|
static Report |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
public void addGraph(Graph vGraph) throws IndexOutOfBoundsException
vGraph
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addGraph(int index, Graph vGraph) throws IndexOutOfBoundsException
index
- vGraph
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void deleteGraphs_per_line()
public void deleteId()
public void deleteShow_graphtype_button()
public void deleteShow_timespan_button()
public Enumeration<Graph> enumerateGraph()
public boolean equals(Object obj)
public Graph getGraph(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Graph[] getGraph()
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<Graph> getGraphCollection()
public int getGraphCount()
public int getGraphs_per_line()
public int getId()
public boolean getShow_graphtype_button()
public boolean getShow_timespan_button()
public String getTitle()
public boolean hasGraphs_per_line()
public boolean hasId()
public boolean hasShow_graphtype_button()
public boolean hasShow_timespan_button()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
public boolean isShow_graphtype_button()
public boolean isShow_timespan_button()
public boolean isValid()
public Iterator<Graph> iterateGraph()
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 removeAllGraph()
public boolean removeGraph(Graph vGraph)
vGraph
- public Graph removeGraphAt(int index)
index
- public void setGraph(int index, Graph vGraph) throws IndexOutOfBoundsException
index
- vGraph
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setGraph(Graph[] vGraphArray)
vGraphArray
- public void setGraph(List<Graph> vGraphList)
vGraphList
- the Vector to copy.public void setGraphCollection(List<Graph> graphList)
graphList
- the Vector to set.public void setGraphs_per_line(int graphs_per_line)
graphs_per_line
- the value of field 'graphs_per_line'.public void setId(int id)
id
- the value of field 'id'.public void setShow_graphtype_button(boolean show_graphtype_button)
show_graphtype_button
- the value of field
'show_graphtype_button'.public void setShow_timespan_button(boolean show_timespan_button)
show_timespan_button
- the value of field
'show_timespan_button'.public void setTitle(String title)
title
- the value of field 'title'.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.