|
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.service.Invoke
Field Summary | |
private java.util.ArrayList |
_argumentList
|
private java.lang.String |
_at
|
private boolean |
_has_pass
keeps track of state for field: _pass |
private java.lang.String |
_method
|
private int |
_pass
|
private java.util.Vector |
propertyChangeListeners
|
Constructor Summary | |
Invoke()
|
Method Summary | |
void |
addArgument(Argument vArgument)
|
void |
addArgument(int index,
Argument vArgument)
|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
Registers a PropertyChangeListener with this class. |
void |
clearArgument()
|
void |
deletePass()
|
java.util.Enumeration |
enumerateArgument()
|
boolean |
equals(java.lang.Object obj)
Note: hashCode() has not been overriden |
Argument[] |
getArgument()
|
Argument |
getArgument(int index)
|
java.util.Collection |
getArgumentCollection()
|
int |
getArgumentCount()
|
java.lang.String |
getAt()
Returns the value of field 'at'. |
java.lang.String |
getMethod()
Returns the value of field 'method'. |
int |
getPass()
Returns the value of field 'pass'. |
boolean |
hasPass()
|
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 |
removeArgument(Argument vArgument)
|
boolean |
removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
Removes the given PropertyChangeListener from this classes list of ProperyChangeListeners. |
void |
setArgument(Argument[] argumentArray)
|
void |
setArgument(int index,
Argument vArgument)
|
void |
setArgumentCollection(java.util.Collection vArgument)
|
void |
setAt(java.lang.String at)
Sets the value of field 'at'. |
void |
setMethod(java.lang.String method)
Sets the value of field 'method'. |
void |
setPass(int pass)
Sets the value of field 'pass'. |
static Invoke |
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 _method
private int _pass
private boolean _has_pass
private java.lang.String _at
private java.util.ArrayList _argumentList
private java.util.Vector propertyChangeListeners
Constructor Detail |
public Invoke()
Method Detail |
public void addArgument(Argument vArgument) throws java.lang.IndexOutOfBoundsException
vArgument
-
java.lang.IndexOutOfBoundsException
public void addArgument(int index, Argument vArgument) throws java.lang.IndexOutOfBoundsException
index
- vArgument
-
java.lang.IndexOutOfBoundsException
public void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl
- The PropertyChangeListener to register.public void clearArgument()
public void deletePass()
public java.util.Enumeration enumerateArgument()
public boolean equals(java.lang.Object obj)
obj
- public Argument getArgument(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
public Argument[] getArgument()
public java.util.Collection getArgumentCollection()
public int getArgumentCount()
public java.lang.String getAt()
public java.lang.String getMethod()
public int getPass()
public boolean hasPass()
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 removeArgument(Argument vArgument)
vArgument
- public boolean removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl
- The PropertyChangeListener to remove.
public void setArgument(int index, Argument vArgument) throws java.lang.IndexOutOfBoundsException
index
- vArgument
-
java.lang.IndexOutOfBoundsException
public void setArgument(Argument[] argumentArray)
argumentArray
- public void setArgumentCollection(java.util.Collection vArgument)
vArgument
- public void setAt(java.lang.String at)
at
- the value of field 'at'.public void setMethod(java.lang.String method)
method
- the value of field 'method'.public void setPass(int pass)
pass
- the value of field 'pass'.public static Invoke 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 |