|
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.poller.Downtime
Field Summary | |
private long |
_begin
|
private java.lang.String |
_delete
|
private long |
_end
|
private boolean |
_has_begin
keeps track of state for field: _begin |
private boolean |
_has_end
keeps track of state for field: _end |
private boolean |
_has_interval
keeps track of state for field: _interval |
private long |
_interval
|
private java.util.Vector |
propertyChangeListeners
|
Constructor Summary | |
Downtime()
|
Method Summary | |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
Registers a PropertyChangeListener with this class. |
void |
deleteEnd()
|
void |
deleteInterval()
|
boolean |
equals(java.lang.Object obj)
Note: hashCode() has not been overriden |
long |
getBegin()
Returns the value of field 'begin'. |
java.lang.String |
getDelete()
Returns the value of field 'delete'. |
long |
getEnd()
Returns the value of field 'end'. |
long |
getInterval()
Returns the value of field 'interval'. |
boolean |
hasBegin()
|
boolean |
hasEnd()
|
boolean |
hasInterval()
|
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 |
setBegin(long begin)
Sets the value of field 'begin'. |
void |
setDelete(java.lang.String delete)
Sets the value of field 'delete'. |
void |
setEnd(long end)
Sets the value of field 'end'. |
void |
setInterval(long interval)
Sets the value of field 'interval'. |
static Downtime |
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 long _begin
private boolean _has_begin
private long _end
private boolean _has_end
private java.lang.String _delete
private long _interval
private boolean _has_interval
private java.util.Vector propertyChangeListeners
Constructor Detail |
public Downtime()
Method Detail |
public void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl
- The PropertyChangeListener to register.public void deleteEnd()
public void deleteInterval()
public boolean equals(java.lang.Object obj)
obj
- public long getBegin()
public java.lang.String getDelete()
public long getEnd()
public long getInterval()
public boolean hasBegin()
public boolean hasEnd()
public boolean hasInterval()
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 setBegin(long begin)
begin
- the value of field 'begin'.public void setDelete(java.lang.String delete)
delete
- the value of field 'delete'.public void setEnd(long end)
end
- the value of field 'end'.public void setInterval(long interval)
interval
- the value of field 'interval'.public static Downtime 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 |