|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.rrd.Datasources
public class Datasources
Class Datasources.
| Constructor Summary | |
|---|---|
Datasources()
|
|
| Method Summary | |
|---|---|
void |
addDef(Def vDef)
|
void |
addDef(int index,
Def vDef)
|
void |
addExport_data(Export_data vExport_data)
|
void |
addExport_data(int index,
Export_data vExport_data)
|
Enumeration<Def> |
enumerateDef()
Method enumerateDef. |
Enumeration<Export_data> |
enumerateExport_data()
Method enumerateExport_data. |
Def[] |
getDef()
Method getDef.Returns the contents of the collection in an Array. |
Def |
getDef(int index)
Method getDef. |
List<Def> |
getDefCollection()
Method getDefCollection.Returns a reference to '_defList'. |
int |
getDefCount()
Method getDefCount. |
Export_data[] |
getExport_data()
Method getExport_data.Returns the contents of the collection in an Array. |
Export_data |
getExport_data(int index)
Method getExport_data. |
List<Export_data> |
getExport_dataCollection()
Method getExport_dataCollection.Returns a reference to '_export_dataList'. |
int |
getExport_dataCount()
Method getExport_dataCount. |
boolean |
isValid()
Method isValid. |
Iterator<Def> |
iterateDef()
Method iterateDef. |
Iterator<Export_data> |
iterateExport_data()
Method iterateExport_data. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
removeAllDef()
|
void |
removeAllExport_data()
|
boolean |
removeDef(Def vDef)
Method removeDef. |
Def |
removeDefAt(int index)
Method removeDefAt. |
boolean |
removeExport_data(Export_data vExport_data)
Method removeExport_data. |
Export_data |
removeExport_dataAt(int index)
Method removeExport_dataAt. |
void |
setDef(Def[] vDefArray)
|
void |
setDef(int index,
Def vDef)
|
void |
setDef(List<Def> vDefList)
Sets the value of '_defList' by copying the given Vector. |
void |
setDefCollection(List<Def> defList)
Deprecated. |
void |
setExport_data(Export_data[] vExport_dataArray)
|
void |
setExport_data(int index,
Export_data vExport_data)
|
void |
setExport_data(List<Export_data> vExport_dataList)
Sets the value of '_export_dataList' by copying the given Vector. |
void |
setExport_dataCollection(List<Export_data> export_dataList)
Deprecated. |
static Datasources |
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 Datasources()
| Method Detail |
|---|
public void addDef(Def vDef)
throws IndexOutOfBoundsException
vDef -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addDef(int index,
Def vDef)
throws IndexOutOfBoundsException
index - vDef -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addExport_data(Export_data vExport_data)
throws IndexOutOfBoundsException
vExport_data -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addExport_data(int index,
Export_data vExport_data)
throws IndexOutOfBoundsException
index - vExport_data -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Enumeration<Def> enumerateDef()
public Enumeration<Export_data> enumerateExport_data()
public Def getDef(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Def[] getDef()
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<Def> getDefCollection()
public int getDefCount()
public Export_data getExport_data(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Export_data[] getExport_data()
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<Export_data> getExport_dataCollection()
public int getExport_dataCount()
public boolean isValid()
public Iterator<Def> iterateDef()
public Iterator<Export_data> iterateExport_data()
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 removeAllDef()
public void removeAllExport_data()
public boolean removeDef(Def vDef)
vDef -
public Def removeDefAt(int index)
index -
public boolean removeExport_data(Export_data vExport_data)
vExport_data -
public Export_data removeExport_dataAt(int index)
index -
public void setDef(int index,
Def vDef)
throws IndexOutOfBoundsException
index - vDef -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setDef(Def[] vDefArray)
vDefArray - public void setDef(List<Def> vDefList)
vDefList - the Vector to copy.public void setDefCollection(List<Def> defList)
defList - the Vector to set.
public void setExport_data(int index,
Export_data vExport_data)
throws IndexOutOfBoundsException
index - vExport_data -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setExport_data(Export_data[] vExport_dataArray)
vExport_dataArray - public void setExport_data(List<Export_data> vExport_dataList)
vExport_dataList - the Vector to copy.public void setExport_dataCollection(List<Export_data> export_dataList)
export_dataList - the Vector to set.
public static Datasources 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 | ||||||||