org.opennms.netmgt.config.datacollection
Class Rrd

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

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

RRD parms

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

Constructor Summary
Rrd()
           
 
Method Summary
 void addRra(int index, java.lang.String vRra)
          Method addRra
 void addRra(java.lang.String vRra)
          Method addRra
 void clearRra()
          Method clearRra
 void deleteStep()
          Method deleteStep
 java.util.Enumeration enumerateRra()
          Method enumerateRra
 java.lang.String[] getRra()
          Method getRra
 java.lang.String getRra(int index)
          Method getRra
 java.util.ArrayList getRraCollection()
          Method getRraCollection Returns a reference to 'rra'.
 int getRraCount()
          Method getRraCount
 int getStep()
          Returns the value of field 'step'.
 boolean hasStep()
          Method hasStep
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 boolean removeRra(java.lang.String vRra)
          Method removeRra
 void setRra(java.util.ArrayList rraCollection)
          Method setRra Sets the value of 'rra' by copying the given ArrayList.
 void setRra(int index, java.lang.String vRra)
          Method setRra
 void setRra(java.lang.String[] rraArray)
          Method setRra
 void setRraCollection(java.util.ArrayList rraCollection)
          Method setRraCollection Sets the value of 'rra' by setting it to the given ArrayList.
 void setStep(int step)
          Sets the value of field 'step'.
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

Rrd

public Rrd()
Method Detail

addRra

public void addRra(java.lang.String vRra)
            throws java.lang.IndexOutOfBoundsException
Method addRra

Parameters:
vRra -
Throws:
java.lang.IndexOutOfBoundsException

addRra

public void addRra(int index,
                   java.lang.String vRra)
            throws java.lang.IndexOutOfBoundsException
Method addRra

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

clearRra

public void clearRra()
Method clearRra


deleteStep

public void deleteStep()
Method deleteStep


enumerateRra

public java.util.Enumeration enumerateRra()
Method enumerateRra

Returns:
Enumeration

getRra

public java.lang.String getRra(int index)
                        throws java.lang.IndexOutOfBoundsException
Method getRra

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

getRra

public java.lang.String[] getRra()
Method getRra

Returns:
String

getRraCollection

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

Returns:
ArrayList

getRraCount

public int getRraCount()
Method getRraCount

Returns:
int

getStep

public int getStep()
Returns the value of field 'step'. The field 'step' has the following description: step size for the RRD

Returns:
int

hasStep

public boolean hasStep()
Method hasStep

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

removeRra

public boolean removeRra(java.lang.String vRra)
Method removeRra

Parameters:
vRra -
Returns:
boolean

setRra

public void setRra(int index,
                   java.lang.String vRra)
            throws java.lang.IndexOutOfBoundsException
Method setRra

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

setRra

public void setRra(java.lang.String[] rraArray)
Method setRra

Parameters:
rraArray -

setRra

public void setRra(java.util.ArrayList rraCollection)
Method setRra Sets the value of 'rra' by copying the given ArrayList.

Parameters:
rraCollection - the Vector to copy.

setRraCollection

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

Parameters:
rraCollection - the ArrayList to copy.

setStep

public void setStep(int step)
Sets the value of field 'step'. The field 'step' has the following description: step size for the RRD

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

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.