|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.httpdatacollection.Rrd
public class Rrd
RRD parms
| Constructor Summary | |
|---|---|
Rrd()
|
|
| Method Summary | |
|---|---|
void |
addRra(int index,
String vRra)
|
void |
addRra(String vRra)
|
void |
deleteStep()
|
Enumeration<String> |
enumerateRra()
Method enumerateRra. |
String[] |
getRra()
Method getRra.Returns the contents of the collection in an Array. |
String |
getRra(int index)
Method getRra. |
List<String> |
getRraCollection()
Method getRraCollection.Returns a reference to '_rraList'. |
int |
getRraCount()
Method getRraCount. |
int |
getStep()
Returns the value of field 'step'. |
boolean |
hasStep()
Method hasStep. |
boolean |
isValid()
Method isValid. |
Iterator<String> |
iterateRra()
Method iterateRra. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
removeAllRra()
|
boolean |
removeRra(String vRra)
Method removeRra. |
String |
removeRraAt(int index)
Method removeRraAt. |
void |
setRra(int index,
String vRra)
|
void |
setRra(List<String> vRraList)
Sets the value of '_rraList' by copying the given Vector. |
void |
setRra(String[] vRraArray)
|
void |
setRraCollection(List<String> rraList)
Deprecated. |
void |
setStep(int step)
Sets the value of field 'step'. |
static Rrd |
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 Rrd()
| Method Detail |
|---|
public void addRra(String vRra)
throws IndexOutOfBoundsException
vRra -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addRra(int index,
String vRra)
throws IndexOutOfBoundsException
index - vRra -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void deleteStep()
public Enumeration<String> enumerateRra()
public String getRra(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic String[] getRra()
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<String> getRraCollection()
public int getRraCount()
public int getStep()
public boolean hasStep()
public boolean isValid()
public Iterator<String> iterateRra()
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 removeAllRra()
public boolean removeRra(String vRra)
vRra -
public String removeRraAt(int index)
index -
public void setRra(int index,
String vRra)
throws IndexOutOfBoundsException
index - vRra -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setRra(String[] vRraArray)
vRraArray - public void setRra(List<String> vRraList)
vRraList - the Vector to copy.public void setRraCollection(List<String> rraList)
rraList - the Vector to set.public void setStep(int step)
step - the value of field 'step'.
public static Rrd 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 | ||||||||