|
OpenNMS API 1.1.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.config.vacuumd.VacuumdConfiguration
| Field Summary | |
private boolean |
_has_period
keeps track of state for field: _period |
private int |
_period
|
private java.util.ArrayList |
_statementList
|
private java.util.Vector |
propertyChangeListeners
|
| Constructor Summary | |
VacuumdConfiguration()
|
|
| Method Summary | |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
Registers a PropertyChangeListener with this class. |
void |
addStatement(int index,
Statement vStatement)
|
void |
addStatement(Statement vStatement)
|
void |
clearStatement()
|
java.util.Enumeration |
enumerateStatement()
|
boolean |
equals(java.lang.Object obj)
Note: hashCode() has not been overriden |
int |
getPeriod()
Returns the value of field 'period'. |
Statement[] |
getStatement()
|
Statement |
getStatement(int index)
|
java.util.Collection |
getStatementCollection()
|
int |
getStatementCount()
|
boolean |
hasPeriod()
|
boolean |
isValid()
|
void |
marshal(org.xml.sax.DocumentHandler handler)
|
void |
marshal(java.io.Writer out)
|
protected void |
notifyPropertyChangeListeners(java.lang.String fieldName,
java.lang.Object oldValue,
java.lang.Object newValue)
Notifies all registered PropertyChangeListeners when a bound property's value changes. |
boolean |
removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
Removes the given PropertyChangeListener from this classes list of ProperyChangeListeners. |
boolean |
removeStatement(Statement vStatement)
|
void |
setPeriod(int period)
Sets the value of field 'period'. |
void |
setStatement(int index,
Statement vStatement)
|
void |
setStatement(Statement[] statementArray)
|
void |
setStatementCollection(java.util.Collection vStatement)
|
static VacuumdConfiguration |
unmarshal(java.io.Reader reader)
|
void |
validate()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private int _period
private boolean _has_period
private java.util.ArrayList _statementList
private java.util.Vector propertyChangeListeners
| Constructor Detail |
public VacuumdConfiguration()
| Method Detail |
public void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl - The PropertyChangeListener to register.
public void addStatement(Statement vStatement)
throws java.lang.IndexOutOfBoundsException
vStatement -
java.lang.IndexOutOfBoundsException
public void addStatement(int index,
Statement vStatement)
throws java.lang.IndexOutOfBoundsException
index - vStatement -
java.lang.IndexOutOfBoundsExceptionpublic void clearStatement()
public java.util.Enumeration enumerateStatement()
public boolean equals(java.lang.Object obj)
obj - public int getPeriod()
public Statement getStatement(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic Statement[] getStatement()
public java.util.Collection getStatementCollection()
public int getStatementCount()
public boolean hasPeriod()
public boolean isValid()
public void marshal(java.io.Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
out -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void marshal(org.xml.sax.DocumentHandler handler)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
protected void notifyPropertyChangeListeners(java.lang.String fieldName,
java.lang.Object oldValue,
java.lang.Object newValue)
fieldName - the name of the property that has changed.newValue - the new value of the property.oldValue - the old value of the property.public boolean removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl - The PropertyChangeListener to remove.
public boolean removeStatement(Statement vStatement)
vStatement - public void setPeriod(int period)
period - the value of field 'period'.
public void setStatement(int index,
Statement vStatement)
throws java.lang.IndexOutOfBoundsException
index - vStatement -
java.lang.IndexOutOfBoundsExceptionpublic void setStatement(Statement[] statementArray)
statementArray - public void setStatementCollection(java.util.Collection vStatement)
vStatement -
public static VacuumdConfiguration unmarshal(java.io.Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
reader -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
|
OpenNMS API 1.1.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||