|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opennms.netmgt.config.threshd.Threshold
Field Summary | |
private java.lang.String |
_dsName
|
private java.lang.String |
_dsType
|
private boolean |
_has_rearm
keeps track of state for field: _rearm |
private boolean |
_has_trigger
keeps track of state for field: _trigger |
private boolean |
_has_value
keeps track of state for field: _value |
private double |
_rearm
|
private int |
_trigger
|
private java.lang.String |
_type
|
private double |
_value
|
private java.util.Vector |
propertyChangeListeners
|
Constructor Summary | |
Threshold()
|
Method Summary | |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
Registers a PropertyChangeListener with this class. |
boolean |
equals(java.lang.Object obj)
Note: hashCode() has not been overriden |
java.lang.String |
getDsName()
Returns the value of field 'dsName'. |
java.lang.String |
getDsType()
Returns the value of field 'dsType'. |
double |
getRearm()
Returns the value of field 'rearm'. |
int |
getTrigger()
Returns the value of field 'trigger'. |
java.lang.String |
getType()
Returns the value of field 'type'. |
double |
getValue()
Returns the value of field 'value'. |
boolean |
hasRearm()
|
boolean |
hasTrigger()
|
boolean |
hasValue()
|
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. |
void |
setDsName(java.lang.String dsName)
Sets the value of field 'dsName'. |
void |
setDsType(java.lang.String dsType)
Sets the value of field 'dsType'. |
void |
setRearm(double rearm)
Sets the value of field 'rearm'. |
void |
setTrigger(int trigger)
Sets the value of field 'trigger'. |
void |
setType(java.lang.String type)
Sets the value of field 'type'. |
void |
setValue(double value)
Sets the value of field 'value'. |
static Threshold |
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 java.lang.String _type
private java.lang.String _dsName
private java.lang.String _dsType
private double _value
private boolean _has_value
private double _rearm
private boolean _has_rearm
private int _trigger
private boolean _has_trigger
private java.util.Vector propertyChangeListeners
Constructor Detail |
public Threshold()
Method Detail |
public void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl
- The PropertyChangeListener to register.public boolean equals(java.lang.Object obj)
obj
- public java.lang.String getDsName()
public java.lang.String getDsType()
public double getRearm()
public int getTrigger()
public java.lang.String getType()
public double getValue()
public boolean hasRearm()
public boolean hasTrigger()
public boolean hasValue()
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 void setDsName(java.lang.String dsName)
dsName
- the value of field 'dsName'.public void setDsType(java.lang.String dsType)
dsType
- the value of field 'dsType'.public void setRearm(double rearm)
rearm
- the value of field 'rearm'.public void setTrigger(int trigger)
trigger
- the value of field 'trigger'.public void setType(java.lang.String type)
type
- the value of field 'type'.public void setValue(double value)
value
- the value of field 'value'.public static Threshold 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.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |