|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.config.reporting.Parameters
public class Parameters
Class Parameters.
| Constructor Summary | |
|---|---|
Parameters()
|
|
| Method Summary | |
|---|---|
void |
addDateParm(DateParm vDateParm)
|
void |
addDateParm(int index,
DateParm vDateParm)
|
void |
addIntParm(int index,
IntParm vIntParm)
|
void |
addIntParm(IntParm vIntParm)
|
void |
addStringParm(int index,
StringParm vStringParm)
|
void |
addStringParm(StringParm vStringParm)
|
Enumeration<DateParm> |
enumerateDateParm()
Method enumerateDateParm. |
Enumeration<IntParm> |
enumerateIntParm()
Method enumerateIntParm. |
Enumeration<StringParm> |
enumerateStringParm()
Method enumerateStringParm. |
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method. |
DateParm[] |
getDateParm()
Method getDateParm.Returns the contents of the collection in an Array. |
DateParm |
getDateParm(int index)
Method getDateParm. |
List<DateParm> |
getDateParmCollection()
Method getDateParmCollection.Returns a reference to '_dateParmList'. |
int |
getDateParmCount()
Method getDateParmCount. |
IntParm[] |
getIntParm()
Method getIntParm.Returns the contents of the collection in an Array. |
IntParm |
getIntParm(int index)
Method getIntParm. |
List<IntParm> |
getIntParmCollection()
Method getIntParmCollection.Returns a reference to '_intParmList'. |
int |
getIntParmCount()
Method getIntParmCount. |
StringParm[] |
getStringParm()
Method getStringParm.Returns the contents of the collection in an Array. |
StringParm |
getStringParm(int index)
Method getStringParm. |
List<StringParm> |
getStringParmCollection()
Method getStringParmCollection.Returns a reference to '_stringParmList'. |
int |
getStringParmCount()
Method getStringParmCount. |
int |
hashCode()
Overrides the java.lang.Object.hashCode method. |
boolean |
isValid()
Method isValid. |
Iterator<DateParm> |
iterateDateParm()
Method iterateDateParm. |
Iterator<IntParm> |
iterateIntParm()
Method iterateIntParm. |
Iterator<StringParm> |
iterateStringParm()
Method iterateStringParm. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
removeAllDateParm()
|
void |
removeAllIntParm()
|
void |
removeAllStringParm()
|
boolean |
removeDateParm(DateParm vDateParm)
Method removeDateParm. |
DateParm |
removeDateParmAt(int index)
Method removeDateParmAt. |
boolean |
removeIntParm(IntParm vIntParm)
Method removeIntParm. |
IntParm |
removeIntParmAt(int index)
Method removeIntParmAt. |
boolean |
removeStringParm(StringParm vStringParm)
Method removeStringParm. |
StringParm |
removeStringParmAt(int index)
Method removeStringParmAt. |
void |
setDateParm(DateParm[] vDateParmArray)
|
void |
setDateParm(int index,
DateParm vDateParm)
|
void |
setDateParm(List<DateParm> vDateParmList)
Sets the value of '_dateParmList' by copying the given Vector. |
void |
setDateParmCollection(List<DateParm> dateParmList)
Deprecated. |
void |
setIntParm(int index,
IntParm vIntParm)
|
void |
setIntParm(IntParm[] vIntParmArray)
|
void |
setIntParm(List<IntParm> vIntParmList)
Sets the value of '_intParmList' by copying the given Vector. |
void |
setIntParmCollection(List<IntParm> intParmList)
Deprecated. |
void |
setStringParm(int index,
StringParm vStringParm)
|
void |
setStringParm(List<StringParm> vStringParmList)
Sets the value of '_stringParmList' by copying the given Vector. |
void |
setStringParm(StringParm[] vStringParmArray)
|
void |
setStringParmCollection(List<StringParm> stringParmList)
Deprecated. |
static Parameters |
unmarshal(Reader reader)
Method unmarshal. |
void |
validate()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Parameters()
| Method Detail |
|---|
public void addDateParm(DateParm vDateParm)
throws IndexOutOfBoundsException
vDateParm -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addDateParm(int index,
DateParm vDateParm)
throws IndexOutOfBoundsException
index - vDateParm -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addIntParm(IntParm vIntParm)
throws IndexOutOfBoundsException
vIntParm -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addIntParm(int index,
IntParm vIntParm)
throws IndexOutOfBoundsException
index - vIntParm -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addStringParm(StringParm vStringParm)
throws IndexOutOfBoundsException
vStringParm -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addStringParm(int index,
StringParm vStringParm)
throws IndexOutOfBoundsException
index - vStringParm -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Enumeration<DateParm> enumerateDateParm()
public Enumeration<IntParm> enumerateIntParm()
public Enumeration<StringParm> enumerateStringParm()
public boolean equals(Object obj)
equals in class Objectobj -
public DateParm getDateParm(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic DateParm[] getDateParm()
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<DateParm> getDateParmCollection()
public int getDateParmCount()
public IntParm getIntParm(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic IntParm[] getIntParm()
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<IntParm> getIntParmCollection()
public int getIntParmCount()
public StringParm getStringParm(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic StringParm[] getStringParm()
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<StringParm> getStringParmCollection()
public int getStringParmCount()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
hashCode in class Objectpublic boolean isValid()
public Iterator<DateParm> iterateDateParm()
public Iterator<IntParm> iterateIntParm()
public Iterator<StringParm> iterateStringParm()
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 removeAllDateParm()
public void removeAllIntParm()
public void removeAllStringParm()
public boolean removeDateParm(DateParm vDateParm)
vDateParm -
public DateParm removeDateParmAt(int index)
index -
public boolean removeIntParm(IntParm vIntParm)
vIntParm -
public IntParm removeIntParmAt(int index)
index -
public boolean removeStringParm(StringParm vStringParm)
vStringParm -
public StringParm removeStringParmAt(int index)
index -
public void setDateParm(int index,
DateParm vDateParm)
throws IndexOutOfBoundsException
index - vDateParm -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setDateParm(DateParm[] vDateParmArray)
vDateParmArray - public void setDateParm(List<DateParm> vDateParmList)
vDateParmList - the Vector to copy.public void setDateParmCollection(List<DateParm> dateParmList)
dateParmList - the Vector to set.
public void setIntParm(int index,
IntParm vIntParm)
throws IndexOutOfBoundsException
index - vIntParm -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setIntParm(IntParm[] vIntParmArray)
vIntParmArray - public void setIntParm(List<IntParm> vIntParmList)
vIntParmList - the Vector to copy.public void setIntParmCollection(List<IntParm> intParmList)
intParmList - the Vector to set.
public void setStringParm(int index,
StringParm vStringParm)
throws IndexOutOfBoundsException
index - vStringParm -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setStringParm(StringParm[] vStringParmArray)
vStringParmArray - public void setStringParm(List<StringParm> vStringParmList)
vStringParmList - the Vector to copy.public void setStringParmCollection(List<StringParm> stringParmList)
stringParmList - the Vector to set.
public static Parameters 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 | |||||||||