org.opennms.netmgt.config.rrd
Class Graph

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

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

Class Graph.

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

Constructor Summary
Graph()
           
 
Method Summary
 void addGraph_element(Graph_element vGraph_element)
          Method addGraph_element
 void addGraph_element(int index, Graph_element vGraph_element)
          Method addGraph_element
 void clearGraph_element()
          Method clearGraph_element
 java.util.Enumeration enumerateGraph_element()
          Method enumerateGraph_element
 Graph_element[] getGraph_element()
          Method getGraph_element
 Graph_element getGraph_element(int index)
          Method getGraph_element
 java.util.ArrayList getGraph_elementCollection()
          Method getGraph_elementCollection Returns a reference to 'graph_element'.
 int getGraph_elementCount()
          Method getGraph_elementCount
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 boolean removeGraph_element(Graph_element vGraph_element)
          Method removeGraph_element
 void setGraph_element(java.util.ArrayList graph_elementCollection)
          Method setGraph_element Sets the value of 'graph_element' by copying the given ArrayList.
 void setGraph_element(Graph_element[] graph_elementArray)
          Method setGraph_element
 void setGraph_element(int index, Graph_element vGraph_element)
          Method setGraph_element
 void setGraph_elementCollection(java.util.ArrayList graph_elementCollection)
          Method setGraph_elementCollection Sets the value of 'graph_element' by setting it to the given ArrayList.
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

Graph

public Graph()
Method Detail

addGraph_element

public void addGraph_element(Graph_element vGraph_element)
                      throws java.lang.IndexOutOfBoundsException
Method addGraph_element

Parameters:
vGraph_element -
Throws:
java.lang.IndexOutOfBoundsException

addGraph_element

public void addGraph_element(int index,
                             Graph_element vGraph_element)
                      throws java.lang.IndexOutOfBoundsException
Method addGraph_element

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

clearGraph_element

public void clearGraph_element()
Method clearGraph_element


enumerateGraph_element

public java.util.Enumeration enumerateGraph_element()
Method enumerateGraph_element

Returns:
Enumeration

getGraph_element

public Graph_element getGraph_element(int index)
                               throws java.lang.IndexOutOfBoundsException
Method getGraph_element

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

getGraph_element

public Graph_element[] getGraph_element()
Method getGraph_element

Returns:
Graph_element

getGraph_elementCollection

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

Returns:
ArrayList

getGraph_elementCount

public int getGraph_elementCount()
Method getGraph_elementCount

Returns:
int

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_element

public boolean removeGraph_element(Graph_element vGraph_element)
Method removeGraph_element

Parameters:
vGraph_element -
Returns:
boolean

setGraph_element

public void setGraph_element(int index,
                             Graph_element vGraph_element)
                      throws java.lang.IndexOutOfBoundsException
Method setGraph_element

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

setGraph_element

public void setGraph_element(Graph_element[] graph_elementArray)
Method setGraph_element

Parameters:
graph_elementArray -

setGraph_element

public void setGraph_element(java.util.ArrayList graph_elementCollection)
Method setGraph_element Sets the value of 'graph_element' by copying the given ArrayList.

Parameters:
graph_elementCollection - the Vector to copy.

setGraph_elementCollection

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

Parameters:
graph_elementCollection - the ArrayList to copy.

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.