|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.wmi.WmiDatacollectionConfig
public class WmiDatacollectionConfig
Class WmiDatacollectionConfig.
| Constructor Summary | |
|---|---|
WmiDatacollectionConfig()
|
|
| Method Summary | |
|---|---|
void |
addWmiCollection(int index,
WmiCollection vWmiCollection)
|
void |
addWmiCollection(WmiCollection vWmiCollection)
|
Enumeration<WmiCollection> |
enumerateWmiCollection()
Method enumerateWmiCollection. |
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. |
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WmiDatacollectionConfig()
| Method Detail |
|---|
public void addWmiCollection(WmiCollection vWmiCollection)
throws IndexOutOfBoundsException
vWmiCollection -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public 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 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 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 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 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 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 | ||||||||