|
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.notificationCommands.NotificationCommands
| Field Summary | |
private java.util.ArrayList |
_commandList
|
private Header |
_header
|
private java.util.Vector |
propertyChangeListeners
|
| Constructor Summary | |
NotificationCommands()
|
|
| Method Summary | |
void |
addCommand(Command vCommand)
|
void |
addCommand(int index,
Command vCommand)
|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
Registers a PropertyChangeListener with this class. |
void |
clearCommand()
|
java.util.Enumeration |
enumerateCommand()
|
boolean |
equals(java.lang.Object obj)
Note: hashCode() has not been overriden |
Command[] |
getCommand()
|
Command |
getCommand(int index)
|
java.util.Collection |
getCommandCollection()
|
int |
getCommandCount()
|
Header |
getHeader()
Returns the value of field 'header'. |
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 |
removeCommand(Command vCommand)
|
boolean |
removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
Removes the given PropertyChangeListener from this classes list of ProperyChangeListeners. |
void |
setCommand(Command[] commandArray)
|
void |
setCommand(int index,
Command vCommand)
|
void |
setCommandCollection(java.util.Collection vCommand)
|
void |
setHeader(Header header)
Sets the value of field 'header'. |
static NotificationCommands |
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 _commandList
private java.util.Vector propertyChangeListeners
| Constructor Detail |
public NotificationCommands()
| Method Detail |
public void addCommand(Command vCommand)
throws java.lang.IndexOutOfBoundsException
vCommand -
java.lang.IndexOutOfBoundsException
public void addCommand(int index,
Command vCommand)
throws java.lang.IndexOutOfBoundsException
index - vCommand -
java.lang.IndexOutOfBoundsExceptionpublic void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl - The PropertyChangeListener to register.public void clearCommand()
public java.util.Enumeration enumerateCommand()
public boolean equals(java.lang.Object obj)
obj -
public Command getCommand(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic Command[] getCommand()
public java.util.Collection getCommandCollection()
public int getCommandCount()
public Header getHeader()
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 removeCommand(Command vCommand)
vCommand - public boolean removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl - The PropertyChangeListener to remove.
public void setCommand(int index,
Command vCommand)
throws java.lang.IndexOutOfBoundsException
index - vCommand -
java.lang.IndexOutOfBoundsExceptionpublic void setCommand(Command[] commandArray)
commandArray - public void setCommandCollection(java.util.Collection vCommand)
vCommand - public void setHeader(Header header)
header - the value of field 'header'.
public static NotificationCommands 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 | |||||||||