|
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.notifd.AutoAcknowledge
Field Summary | |
private java.lang.String |
_acknowledge
|
private boolean |
_has_notify
keeps track of state for field: _notify |
private java.util.ArrayList |
_matchList
|
private boolean |
_notify
|
private java.lang.String |
_resolutionPrefix
|
private java.lang.String |
_uei
|
private java.util.Vector |
propertyChangeListeners
|
Constructor Summary | |
AutoAcknowledge()
|
Method Summary | |
void |
addMatch(int index,
java.lang.String vMatch)
|
void |
addMatch(java.lang.String vMatch)
|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
Registers a PropertyChangeListener with this class. |
void |
clearMatch()
|
void |
deleteNotify()
|
java.util.Enumeration |
enumerateMatch()
|
boolean |
equals(java.lang.Object obj)
Note: hashCode() has not been overriden |
java.lang.String |
getAcknowledge()
Returns the value of field 'acknowledge'. |
java.lang.String[] |
getMatch()
|
java.lang.String |
getMatch(int index)
|
java.util.Collection |
getMatchCollection()
|
int |
getMatchCount()
|
boolean |
getNotify()
Returns the value of field 'notify'. |
java.lang.String |
getResolutionPrefix()
Returns the value of field 'resolutionPrefix'. |
java.lang.String |
getUei()
Returns the value of field 'uei'. |
boolean |
hasNotify()
|
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 |
removeMatch(java.lang.String vMatch)
|
boolean |
removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
Removes the given PropertyChangeListener from this classes list of ProperyChangeListeners. |
void |
setAcknowledge(java.lang.String acknowledge)
Sets the value of field 'acknowledge'. |
void |
setMatch(int index,
java.lang.String vMatch)
|
void |
setMatch(java.lang.String[] matchArray)
|
void |
setMatchCollection(java.util.Collection vMatch)
|
void |
setNotify(boolean notify)
Sets the value of field 'notify'. |
void |
setResolutionPrefix(java.lang.String resolutionPrefix)
Sets the value of field 'resolutionPrefix'. |
void |
setUei(java.lang.String uei)
Sets the value of field 'uei'. |
static AutoAcknowledge |
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 _resolutionPrefix
private java.lang.String _uei
private java.lang.String _acknowledge
private boolean _notify
private boolean _has_notify
private java.util.ArrayList _matchList
private java.util.Vector propertyChangeListeners
Constructor Detail |
public AutoAcknowledge()
Method Detail |
public void addMatch(java.lang.String vMatch) throws java.lang.IndexOutOfBoundsException
vMatch
-
java.lang.IndexOutOfBoundsException
public void addMatch(int index, java.lang.String vMatch) throws java.lang.IndexOutOfBoundsException
index
- vMatch
-
java.lang.IndexOutOfBoundsException
public void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl
- The PropertyChangeListener to register.public void clearMatch()
public void deleteNotify()
public java.util.Enumeration enumerateMatch()
public boolean equals(java.lang.Object obj)
obj
- public java.lang.String getAcknowledge()
public java.lang.String getMatch(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
public java.lang.String[] getMatch()
public java.util.Collection getMatchCollection()
public int getMatchCount()
public boolean getNotify()
public java.lang.String getResolutionPrefix()
public java.lang.String getUei()
public boolean hasNotify()
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 removeMatch(java.lang.String vMatch)
vMatch
- public boolean removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl
- The PropertyChangeListener to remove.
public void setAcknowledge(java.lang.String acknowledge)
acknowledge
- the value of field 'acknowledge'.public void setMatch(int index, java.lang.String vMatch) throws java.lang.IndexOutOfBoundsException
index
- vMatch
-
java.lang.IndexOutOfBoundsException
public void setMatch(java.lang.String[] matchArray)
matchArray
- public void setMatchCollection(java.util.Collection vMatch)
vMatch
- public void setNotify(boolean notify)
notify
- the value of field 'notify'.public void setResolutionPrefix(java.lang.String resolutionPrefix)
resolutionPrefix
- the value of field 'resolutionPrefix'public void setUei(java.lang.String uei)
uei
- the value of field 'uei'.public static AutoAcknowledge 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 |