org.opennms.netmgt.config.kscReports
Class Report

java.lang.Object
  extended by org.opennms.netmgt.config.kscReports.Report
All Implemented Interfaces:
java.io.Serializable

public class Report
extends java.lang.Object
implements java.io.Serializable

Class Report.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
Report()
           
 
Method Summary
 void addGraph(Graph vGraph)
          Method addGraph
 void addGraph(int index, Graph vGraph)
          Method addGraph
 void clearGraph()
          Method clearGraph
 void deleteGraphs_per_line()
          Method deleteGraphs_per_line
 void deleteShow_graphtype_button()
          Method deleteShow_graphtype_button
 void deleteShow_timespan_button()
          Method deleteShow_timespan_button
 java.util.Enumeration enumerateGraph()
          Method enumerateGraph
 Graph[] getGraph()
          Method getGraph
 Graph getGraph(int index)
          Method getGraph
 java.util.ArrayList getGraphCollection()
          Method getGraphCollection Returns a reference to 'graph'.
 int getGraphCount()
          Method getGraphCount
 int getGraphs_per_line()
          Returns the value of field 'graphs_per_line'.
 boolean getShow_graphtype_button()
          Returns the value of field 'show_graphtype_button'.
 boolean getShow_timespan_button()
          Returns the value of field 'show_timespan_button'.
 java.lang.String getTitle()
          Returns the value of field 'title'.
 boolean hasGraphs_per_line()
          Method hasGraphs_per_line
 boolean hasShow_graphtype_button()
          Method hasShow_graphtype_button
 boolean hasShow_timespan_button()
          Method hasShow_timespan_button
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 boolean removeGraph(Graph vGraph)
          Method removeGraph
 void setGraph(java.util.ArrayList graphCollection)
          Method setGraph Sets the value of 'graph' by copying the given ArrayList.
 void setGraph(Graph[] graphArray)
          Method setGraph
 void setGraph(int index, Graph vGraph)
          Method setGraph
 void setGraphCollection(java.util.ArrayList graphCollection)
          Method setGraphCollection Sets the value of 'graph' by setting it to the given ArrayList.
 void setGraphs_per_line(int graphs_per_line)
          Sets the value of field 'graphs_per_line'.
 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(java.lang.String title)
          Sets the value of field 'title'.
static java.lang.Object unmarshal(java.io.Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Report

public Report()
Method Detail

addGraph

public void addGraph(Graph vGraph)
              throws java.lang.IndexOutOfBoundsException
Method addGraph

Parameters:
vGraph -
Throws:
java.lang.IndexOutOfBoundsException

addGraph

public void addGraph(int index,
                     Graph vGraph)
              throws java.lang.IndexOutOfBoundsException
Method addGraph

Parameters:
index -
vGraph -
Throws:
java.lang.IndexOutOfBoundsException

clearGraph

public void clearGraph()
Method clearGraph


deleteGraphs_per_line

public void deleteGraphs_per_line()
Method deleteGraphs_per_line


deleteShow_graphtype_button

public void deleteShow_graphtype_button()
Method deleteShow_graphtype_button


deleteShow_timespan_button

public void deleteShow_timespan_button()
Method deleteShow_timespan_button


enumerateGraph

public java.util.Enumeration enumerateGraph()
Method enumerateGraph

Returns:
Enumeration

getGraph

public Graph getGraph(int index)
               throws java.lang.IndexOutOfBoundsException
Method getGraph

Parameters:
index -
Returns:
Graph
Throws:
java.lang.IndexOutOfBoundsException

getGraph

public Graph[] getGraph()
Method getGraph

Returns:
Graph

getGraphCollection

public java.util.ArrayList getGraphCollection()
Method getGraphCollection Returns a reference to 'graph'. No type checking is performed on any modications to the Collection.

Returns:
ArrayList

getGraphCount

public int getGraphCount()
Method getGraphCount

Returns:
int

getGraphs_per_line

public int getGraphs_per_line()
Returns the value of field 'graphs_per_line'.

Returns:
int

getShow_graphtype_button

public boolean getShow_graphtype_button()
Returns the value of field 'show_graphtype_button'.

Returns:
boolean

getShow_timespan_button

public boolean getShow_timespan_button()
Returns the value of field 'show_timespan_button'.

Returns:
boolean

getTitle

public java.lang.String getTitle()
Returns the value of field 'title'.

Returns:
String

hasGraphs_per_line

public boolean hasGraphs_per_line()
Method hasGraphs_per_line

Returns:
boolean

hasShow_graphtype_button

public boolean hasShow_graphtype_button()
Method hasShow_graphtype_button

Returns:
boolean

hasShow_timespan_button

public boolean hasShow_timespan_button()
Method hasShow_timespan_button

Returns:
boolean

isValid

public boolean isValid()
Method isValid

Returns:
boolean

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
handler -
Throws:
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

removeGraph

public boolean removeGraph(Graph vGraph)
Method removeGraph

Parameters:
vGraph -
Returns:
boolean

setGraph

public void setGraph(int index,
                     Graph vGraph)
              throws java.lang.IndexOutOfBoundsException
Method setGraph

Parameters:
index -
vGraph -
Throws:
java.lang.IndexOutOfBoundsException

setGraph

public void setGraph(Graph[] graphArray)
Method setGraph

Parameters:
graphArray -

setGraph

public void setGraph(java.util.ArrayList graphCollection)
Method setGraph Sets the value of 'graph' by copying the given ArrayList.

Parameters:
graphCollection - the Vector to copy.

setGraphCollection

public void setGraphCollection(java.util.ArrayList graphCollection)
Method setGraphCollection Sets the value of 'graph' by setting it to the given ArrayList. No type checking is performed.

Parameters:
graphCollection - the ArrayList to copy.

setGraphs_per_line

public void setGraphs_per_line(int graphs_per_line)
Sets the value of field 'graphs_per_line'.

Parameters:
graphs_per_line - the value of field 'graphs_per_line'.

setShow_graphtype_button

public void setShow_graphtype_button(boolean show_graphtype_button)
Sets the value of field 'show_graphtype_button'.

Parameters:
show_graphtype_button - the value of field 'show_graphtype_button'.

setShow_timespan_button

public void setShow_timespan_button(boolean show_timespan_button)
Sets the value of field 'show_timespan_button'.

Parameters:
show_timespan_button - the value of field 'show_timespan_button'.

setTitle

public void setTitle(java.lang.String title)
Sets the value of field 'title'.

Parameters:
title - the value of field 'title'.

unmarshal

public static java.lang.Object unmarshal(java.io.Reader reader)
                                  throws org.exolab.castor.xml.MarshalException,
                                         org.exolab.castor.xml.ValidationException
Method unmarshal

Parameters:
reader -
Returns:
Object
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Method validate

Throws:
org.exolab.castor.xml.ValidationException


Copyright © 2007. All Rights Reserved.