org.opennms.netmgt.config.nsclient
Class NsclientDatacollectionConfig

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

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

Class NsclientDatacollectionConfig.

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

Constructor Summary
NsclientDatacollectionConfig()
           
 
Method Summary
 void addNsclientCollection(int index, NsclientCollection vNsclientCollection)
          Method addNsclientCollection
 void addNsclientCollection(NsclientCollection vNsclientCollection)
          Method addNsclientCollection
 void clearNsclientCollection()
          Method clearNsclientCollection
 java.util.Enumeration enumerateNsclientCollection()
          Method enumerateNsclientCollection
 NsclientCollection[] getNsclientCollection()
          Method getNsclientCollection
 NsclientCollection getNsclientCollection(int index)
          Method getNsclientCollection
 java.util.ArrayList getNsclientCollectionCollection()
          Method getNsclientCollectionCollection Returns a reference to 'nsclientCollection'.
 int getNsclientCollectionCount()
          Method getNsclientCollectionCount
 java.lang.String getRrdRepository()
          Returns the value of field 'rrdRepository'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 boolean removeNsclientCollection(NsclientCollection vNsclientCollection)
          Method removeNsclientCollection
 void setNsclientCollection(java.util.ArrayList nsclientCollectionCollection)
          Method setNsclientCollection Sets the value of 'nsclientCollection' by copying the given ArrayList.
 void setNsclientCollection(int index, NsclientCollection vNsclientCollection)
          Method setNsclientCollection
 void setNsclientCollection(NsclientCollection[] nsclientCollectionArray)
          Method setNsclientCollection
 void setNsclientCollectionCollection(java.util.ArrayList nsclientCollectionCollection)
          Method setNsclientCollectionCollection Sets the value of 'nsclientCollection' by setting it to the given ArrayList.
 void setRrdRepository(java.lang.String rrdRepository)
          Sets the value of field 'rrdRepository'.
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

NsclientDatacollectionConfig

public NsclientDatacollectionConfig()
Method Detail

addNsclientCollection

public void addNsclientCollection(NsclientCollection vNsclientCollection)
                           throws java.lang.IndexOutOfBoundsException
Method addNsclientCollection

Parameters:
vNsclientCollection -
Throws:
java.lang.IndexOutOfBoundsException

addNsclientCollection

public void addNsclientCollection(int index,
                                  NsclientCollection vNsclientCollection)
                           throws java.lang.IndexOutOfBoundsException
Method addNsclientCollection

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

clearNsclientCollection

public void clearNsclientCollection()
Method clearNsclientCollection


enumerateNsclientCollection

public java.util.Enumeration enumerateNsclientCollection()
Method enumerateNsclientCollection

Returns:
Enumeration

getNsclientCollection

public NsclientCollection getNsclientCollection(int index)
                                         throws java.lang.IndexOutOfBoundsException
Method getNsclientCollection

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

getNsclientCollection

public NsclientCollection[] getNsclientCollection()
Method getNsclientCollection

Returns:
NsclientCollection

getNsclientCollectionCollection

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

Returns:
ArrayList

getNsclientCollectionCount

public int getNsclientCollectionCount()
Method getNsclientCollectionCount

Returns:
int

getRrdRepository

public java.lang.String getRrdRepository()
Returns the value of field 'rrdRepository'.

Returns:
String

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

removeNsclientCollection

public boolean removeNsclientCollection(NsclientCollection vNsclientCollection)
Method removeNsclientCollection

Parameters:
vNsclientCollection -
Returns:
boolean

setNsclientCollection

public void setNsclientCollection(int index,
                                  NsclientCollection vNsclientCollection)
                           throws java.lang.IndexOutOfBoundsException
Method setNsclientCollection

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

setNsclientCollection

public void setNsclientCollection(NsclientCollection[] nsclientCollectionArray)
Method setNsclientCollection

Parameters:
nsclientCollectionArray -

setNsclientCollection

public void setNsclientCollection(java.util.ArrayList nsclientCollectionCollection)
Method setNsclientCollection Sets the value of 'nsclientCollection' by copying the given ArrayList.

Parameters:
nsclientCollectionCollection - the Vector to copy.

setNsclientCollectionCollection

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

Parameters:
nsclientCollectionCollection - the ArrayList to copy.

setRrdRepository

public void setRrdRepository(java.lang.String rrdRepository)
Sets the value of field 'rrdRepository'.

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

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.