|
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.notifications.Notifications
| Field Summary | |
private Header |
_header
|
private java.util.ArrayList |
_notificationList
|
private java.util.Vector |
propertyChangeListeners
|
| Constructor Summary | |
Notifications()
|
|
| Method Summary | |
void |
addNotification(int index,
Notification vNotification)
|
void |
addNotification(Notification vNotification)
|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
Registers a PropertyChangeListener with this class. |
void |
clearNotification()
|
java.util.Enumeration |
enumerateNotification()
|
boolean |
equals(java.lang.Object obj)
Note: hashCode() has not been overriden |
Header |
getHeader()
Returns the value of field 'header'. |
Notification[] |
getNotification()
|
Notification |
getNotification(int index)
|
java.util.Collection |
getNotificationCollection()
|
int |
getNotificationCount()
|
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 |
removeNotification(Notification vNotification)
|
boolean |
removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
Removes the given PropertyChangeListener from this classes list of ProperyChangeListeners. |
void |
setHeader(Header header)
Sets the value of field 'header'. |
void |
setNotification(int index,
Notification vNotification)
|
void |
setNotification(Notification[] notificationArray)
|
void |
setNotificationCollection(java.util.Collection vNotification)
|
static Notifications |
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 Header _header
private java.util.ArrayList _notificationList
private java.util.Vector propertyChangeListeners
| Constructor Detail |
public Notifications()
| Method Detail |
public void addNotification(Notification vNotification)
throws java.lang.IndexOutOfBoundsException
vNotification -
java.lang.IndexOutOfBoundsException
public void addNotification(int index,
Notification vNotification)
throws java.lang.IndexOutOfBoundsException
index - vNotification -
java.lang.IndexOutOfBoundsExceptionpublic void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl - The PropertyChangeListener to register.public void clearNotification()
public java.util.Enumeration enumerateNotification()
public boolean equals(java.lang.Object obj)
obj - public Header getHeader()
public Notification getNotification(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic Notification[] getNotification()
public java.util.Collection getNotificationCollection()
public int getNotificationCount()
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 removeNotification(Notification vNotification)
vNotification - public boolean removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl - The PropertyChangeListener to remove.
public void setHeader(Header header)
header - the value of field 'header'.
public void setNotification(int index,
Notification vNotification)
throws java.lang.IndexOutOfBoundsException
index - vNotification -
java.lang.IndexOutOfBoundsExceptionpublic void setNotification(Notification[] notificationArray)
notificationArray - public void setNotificationCollection(java.util.Collection vNotification)
vNotification -
public static Notifications 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 | |||||||||