|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.nsclient.NsclientDatacollectionConfig
public class NsclientDatacollectionConfig
Class NsclientDatacollectionConfig.
| Constructor Summary | |
|---|---|
NsclientDatacollectionConfig()
|
|
| Method Summary | |
|---|---|
void |
addNsclientCollection(int index,
NsclientCollection vNsclientCollection)
|
void |
addNsclientCollection(NsclientCollection vNsclientCollection)
|
Enumeration<NsclientCollection> |
enumerateNsclientCollection()
Method enumerateNsclientCollection. |
NsclientCollection[] |
getNsclientCollection()
Method getNsclientCollection.Returns the contents of the collection in an Array. |
NsclientCollection |
getNsclientCollection(int index)
Method getNsclientCollection. |
List<NsclientCollection> |
getNsclientCollectionCollection()
Method getNsclientCollectionCollection.Returns a reference to '_nsclientCollectionList'. |
int |
getNsclientCollectionCount()
Method getNsclientCollectionCount. |
String |
getRrdRepository()
Returns the value of field 'rrdRepository'. |
boolean |
isValid()
Method isValid. |
Iterator<NsclientCollection> |
iterateNsclientCollection()
Method iterateNsclientCollection. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
removeAllNsclientCollection()
|
boolean |
removeNsclientCollection(NsclientCollection vNsclientCollection)
Method removeNsclientCollection. |
NsclientCollection |
removeNsclientCollectionAt(int index)
Method removeNsclientCollectionAt. |
void |
setNsclientCollection(int index,
NsclientCollection vNsclientCollection)
|
void |
setNsclientCollection(List<NsclientCollection> vNsclientCollectionList)
Sets the value of '_nsclientCollectionList' by copying the given Vector. |
void |
setNsclientCollection(NsclientCollection[] vNsclientCollectionArray)
|
void |
setNsclientCollectionCollection(List<NsclientCollection> nsclientCollectionList)
Deprecated. |
void |
setRrdRepository(String rrdRepository)
Sets the value of field 'rrdRepository'. |
static NsclientDatacollectionConfig |
unmarshal(Reader reader)
Method unmarshal. |
void |
validate()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NsclientDatacollectionConfig()
| Method Detail |
|---|
public void addNsclientCollection(NsclientCollection vNsclientCollection)
throws IndexOutOfBoundsException
vNsclientCollection -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addNsclientCollection(int index,
NsclientCollection vNsclientCollection)
throws IndexOutOfBoundsException
index - vNsclientCollection -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Enumeration<NsclientCollection> enumerateNsclientCollection()
public NsclientCollection getNsclientCollection(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic NsclientCollection[] getNsclientCollection()
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<NsclientCollection> getNsclientCollectionCollection()
public int getNsclientCollectionCount()
public String getRrdRepository()
public boolean isValid()
public Iterator<NsclientCollection> iterateNsclientCollection()
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 marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void marshal(ContentHandler handler)
throws IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler -
IOException - if an IOException occurs during
marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshalingpublic void removeAllNsclientCollection()
public boolean removeNsclientCollection(NsclientCollection vNsclientCollection)
vNsclientCollection -
public NsclientCollection removeNsclientCollectionAt(int index)
index -
public void setNsclientCollection(int index,
NsclientCollection vNsclientCollection)
throws IndexOutOfBoundsException
index - vNsclientCollection -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setNsclientCollection(NsclientCollection[] vNsclientCollectionArray)
vNsclientCollectionArray - public void setNsclientCollection(List<NsclientCollection> vNsclientCollectionList)
vNsclientCollectionList - the Vector to copy.public void setNsclientCollectionCollection(List<NsclientCollection> nsclientCollectionList)
nsclientCollectionList - the Vector to set.public void setRrdRepository(String rrdRepository)
rrdRepository - the value of field 'rrdRepository'.
public static NsclientDatacollectionConfig 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 marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||