|
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.destinationPaths.Target
| Field Summary | |
private java.util.ArrayList |
_commandList
|
private java.lang.String |
_interval
|
private java.lang.String |
_name
|
private java.util.Vector |
propertyChangeListeners
|
| Constructor Summary | |
Target()
|
|
| Method Summary | |
void |
addCommand(int index,
java.lang.String vCommand)
|
void |
addCommand(java.lang.String 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 |
java.lang.String[] |
getCommand()
|
java.lang.String |
getCommand(int index)
|
java.util.Collection |
getCommandCollection()
|
int |
getCommandCount()
|
java.lang.String |
getInterval()
Returns the value of field 'interval'. |
java.lang.String |
getName()
Returns the value of field 'name'. |
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(java.lang.String vCommand)
|
boolean |
removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
Removes the given PropertyChangeListener from this classes list of ProperyChangeListeners. |
void |
setCommand(int index,
java.lang.String vCommand)
|
void |
setCommand(java.lang.String[] commandArray)
|
void |
setCommandCollection(java.util.Collection vCommand)
|
void |
setInterval(java.lang.String interval)
Sets the value of field 'interval'. |
void |
setName(java.lang.String name)
Sets the value of field 'name'. |
static Target |
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 _interval
private java.lang.String _name
private java.util.ArrayList _commandList
private java.util.Vector propertyChangeListeners
| Constructor Detail |
public Target()
| Method Detail |
public void addCommand(java.lang.String vCommand)
throws java.lang.IndexOutOfBoundsException
vCommand -
java.lang.IndexOutOfBoundsException
public void addCommand(int index,
java.lang.String 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 java.lang.String getCommand(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic java.lang.String[] getCommand()
public java.util.Collection getCommandCollection()
public int getCommandCount()
public java.lang.String getInterval()
public java.lang.String getName()
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(java.lang.String vCommand)
vCommand - public boolean removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl - The PropertyChangeListener to remove.
public void setCommand(int index,
java.lang.String vCommand)
throws java.lang.IndexOutOfBoundsException
index - vCommand -
java.lang.IndexOutOfBoundsExceptionpublic void setCommand(java.lang.String[] commandArray)
commandArray - public void setCommandCollection(java.util.Collection vCommand)
vCommand - public void setInterval(java.lang.String interval)
interval - the value of field 'interval'.public void setName(java.lang.String name)
name - the value of field 'name'.
public static Target 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 | |||||||||