|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.xmpDataCollection.XmpDatacollectionConfig
public class XmpDatacollectionConfig
Top-level element for the xmp-datacollection-config.xml configuration file.
| Constructor Summary | |
|---|---|
XmpDatacollectionConfig()
|
|
| Method Summary | |
|---|---|
void |
addXmpCollection(int index,
XmpCollection vXmpCollection)
|
void |
addXmpCollection(XmpCollection vXmpCollection)
|
Enumeration<XmpCollection> |
enumerateXmpCollection()
Method enumerateXmpCollection. |
String |
getRrdRepository()
Returns the value of field 'rrdRepository'. |
XmpCollection[] |
getXmpCollection()
Method getXmpCollection.Returns the contents of the collection in an Array. |
XmpCollection |
getXmpCollection(int index)
Method getXmpCollection. |
List<XmpCollection> |
getXmpCollectionCollection()
Method getXmpCollectionCollection.Returns a reference to '_xmpCollectionList'. |
int |
getXmpCollectionCount()
Method getXmpCollectionCount. |
boolean |
isValid()
Method isValid. |
Iterator<XmpCollection> |
iterateXmpCollection()
Method iterateXmpCollection. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
removeAllXmpCollection()
|
boolean |
removeXmpCollection(XmpCollection vXmpCollection)
Method removeXmpCollection. |
XmpCollection |
removeXmpCollectionAt(int index)
Method removeXmpCollectionAt. |
void |
setRrdRepository(String rrdRepository)
Sets the value of field 'rrdRepository'. |
void |
setXmpCollection(int index,
XmpCollection vXmpCollection)
|
void |
setXmpCollection(List<XmpCollection> vXmpCollectionList)
Sets the value of '_xmpCollectionList' by copying the given Vector. |
void |
setXmpCollection(XmpCollection[] vXmpCollectionArray)
|
void |
setXmpCollectionCollection(List<XmpCollection> xmpCollectionList)
Deprecated. |
static XmpDatacollectionConfig |
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 XmpDatacollectionConfig()
| Method Detail |
|---|
public void addXmpCollection(XmpCollection vXmpCollection)
throws IndexOutOfBoundsException
vXmpCollection -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addXmpCollection(int index,
XmpCollection vXmpCollection)
throws IndexOutOfBoundsException
index - vXmpCollection -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Enumeration<XmpCollection> enumerateXmpCollection()
public String getRrdRepository()
public XmpCollection getXmpCollection(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic XmpCollection[] getXmpCollection()
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<XmpCollection> getXmpCollectionCollection()
public int getXmpCollectionCount()
public boolean isValid()
public Iterator<XmpCollection> iterateXmpCollection()
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 removeAllXmpCollection()
public boolean removeXmpCollection(XmpCollection vXmpCollection)
vXmpCollection -
public XmpCollection removeXmpCollectionAt(int index)
index -
public void setRrdRepository(String rrdRepository)
rrdRepository - the value of field 'rrdRepository'.
public void setXmpCollection(int index,
XmpCollection vXmpCollection)
throws IndexOutOfBoundsException
index - vXmpCollection -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setXmpCollection(XmpCollection[] vXmpCollectionArray)
vXmpCollectionArray - public void setXmpCollection(List<XmpCollection> vXmpCollectionList)
vXmpCollectionList - the Vector to copy.public void setXmpCollectionCollection(List<XmpCollection> xmpCollectionList)
xmpCollectionList - the Vector to set.
public static XmpDatacollectionConfig 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 | ||||||||