public class NsclientDatacollectionConfig extends Object implements Serializable
Constructor and Description |
---|
NsclientDatacollectionConfig() |
Modifier and Type | Method and Description |
---|---|
void |
addNsclientCollection(int index,
NsclientCollection vNsclientCollection) |
void |
addNsclientCollection(NsclientCollection vNsclientCollection) |
Enumeration<NsclientCollection> |
enumerateNsclientCollection()
Method enumerateNsclientCollection.
|
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method.
|
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'.
|
int |
hashCode()
Overrides the java.lang.Object.hashCode method.
|
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() |
public void addNsclientCollection(NsclientCollection vNsclientCollection) throws IndexOutOfBoundsException
vNsclientCollection
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic 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 boolean equals(Object obj)
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 int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
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 marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void marshal(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
- IOException
- if an IOException occurs during
marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaorg.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 marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaCopyright © 2015. All rights reserved.