public class WmiDatacollectionConfig extends Object implements Serializable
Constructor and Description |
---|
WmiDatacollectionConfig() |
Modifier and Type | Method and Description |
---|---|
void |
addWmiCollection(int index,
WmiCollection vWmiCollection) |
void |
addWmiCollection(WmiCollection vWmiCollection) |
Enumeration<WmiCollection> |
enumerateWmiCollection()
Method enumerateWmiCollection.
|
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method.
|
String |
getRrdRepository()
Returns the value of field 'rrdRepository'.
|
WmiCollection[] |
getWmiCollection()
Method getWmiCollection.Returns the contents of the
collection in an Array.
|
WmiCollection |
getWmiCollection(int index)
Method getWmiCollection.
|
List<WmiCollection> |
getWmiCollectionCollection()
Method getWmiCollectionCollection.Returns a reference to
'_wmiCollectionList'.
|
int |
getWmiCollectionCount()
Method getWmiCollectionCount.
|
int |
hashCode()
Overrides the java.lang.Object.hashCode method.
|
boolean |
isValid()
Method isValid.
|
Iterator<WmiCollection> |
iterateWmiCollection()
Method iterateWmiCollection.
|
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
void |
removeAllWmiCollection() |
boolean |
removeWmiCollection(WmiCollection vWmiCollection)
Method removeWmiCollection.
|
WmiCollection |
removeWmiCollectionAt(int index)
Method removeWmiCollectionAt.
|
void |
setRrdRepository(String rrdRepository)
Sets the value of field 'rrdRepository'.
|
void |
setWmiCollection(int index,
WmiCollection vWmiCollection) |
void |
setWmiCollection(List<WmiCollection> vWmiCollectionList)
Sets the value of '_wmiCollectionList' by copying the given
Vector.
|
void |
setWmiCollection(WmiCollection[] vWmiCollectionArray) |
void |
setWmiCollectionCollection(List<WmiCollection> wmiCollectionList)
Deprecated.
|
static WmiDatacollectionConfig |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
public void addWmiCollection(WmiCollection vWmiCollection) throws IndexOutOfBoundsException
vWmiCollection
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addWmiCollection(int index, WmiCollection vWmiCollection) throws IndexOutOfBoundsException
index
- vWmiCollection
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Enumeration<WmiCollection> enumerateWmiCollection()
public boolean equals(Object obj)
public String getRrdRepository()
public WmiCollection getWmiCollection(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic WmiCollection[] getWmiCollection()
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<WmiCollection> getWmiCollectionCollection()
public int getWmiCollectionCount()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
public boolean isValid()
public Iterator<WmiCollection> iterateWmiCollection()
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 removeAllWmiCollection()
public boolean removeWmiCollection(WmiCollection vWmiCollection)
vWmiCollection
- public WmiCollection removeWmiCollectionAt(int index)
index
- public void setRrdRepository(String rrdRepository)
rrdRepository
- the value of field 'rrdRepository'.public void setWmiCollection(int index, WmiCollection vWmiCollection) throws IndexOutOfBoundsException
index
- vWmiCollection
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setWmiCollection(WmiCollection[] vWmiCollectionArray)
vWmiCollectionArray
- public void setWmiCollection(List<WmiCollection> vWmiCollectionList)
vWmiCollectionList
- the Vector to copy.public void setWmiCollectionCollection(List<WmiCollection> wmiCollectionList)
wmiCollectionList
- the Vector to set.public static WmiDatacollectionConfig 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 © 2017. All rights reserved.