|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.vacuumd.ActionEvents
public class ActionEvents
Class ActionEvents.
| Constructor Summary | |
|---|---|
ActionEvents()
|
|
| Method Summary | |
|---|---|
void |
addActionEvent(ActionEvent vActionEvent)
|
void |
addActionEvent(int index,
ActionEvent vActionEvent)
|
Enumeration<ActionEvent> |
enumerateActionEvent()
Method enumerateActionEvent. |
ActionEvent[] |
getActionEvent()
Method getActionEvent.Returns the contents of the collection in an Array. |
ActionEvent |
getActionEvent(int index)
Method getActionEvent. |
List<ActionEvent> |
getActionEventCollection()
Method getActionEventCollection.Returns a reference to '_actionEventList'. |
int |
getActionEventCount()
Method getActionEventCount. |
boolean |
isValid()
Method isValid. |
Iterator<ActionEvent> |
iterateActionEvent()
Method iterateActionEvent. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
boolean |
removeActionEvent(ActionEvent vActionEvent)
Method removeActionEvent. |
ActionEvent |
removeActionEventAt(int index)
Method removeActionEventAt. |
void |
removeAllActionEvent()
|
void |
setActionEvent(ActionEvent[] vActionEventArray)
|
void |
setActionEvent(int index,
ActionEvent vActionEvent)
|
void |
setActionEvent(List<ActionEvent> vActionEventList)
Sets the value of '_actionEventList' by copying the given Vector. |
void |
setActionEventCollection(List<ActionEvent> actionEventList)
Deprecated. |
static ActionEvents |
unmarshal(Reader reader)
Method unmarshal. |
void |
validate()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ActionEvents()
| Method Detail |
|---|
public void addActionEvent(ActionEvent vActionEvent)
throws IndexOutOfBoundsException
vActionEvent -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addActionEvent(int index,
ActionEvent vActionEvent)
throws IndexOutOfBoundsException
index - vActionEvent -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Enumeration<ActionEvent> enumerateActionEvent()
public ActionEvent getActionEvent(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic ActionEvent[] getActionEvent()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<ActionEvent> getActionEventCollection()
public int getActionEventCount()
public boolean isValid()
public Iterator<ActionEvent> iterateActionEvent()
public void marshal(Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
out -
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void marshal(ContentHandler handler)
throws IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler -
IOException - if an IOException occurs during
marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshalingpublic boolean removeActionEvent(ActionEvent vActionEvent)
vActionEvent -
public ActionEvent removeActionEventAt(int index)
index -
public void removeAllActionEvent()
public void setActionEvent(int index,
ActionEvent vActionEvent)
throws IndexOutOfBoundsException
index - vActionEvent -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setActionEvent(ActionEvent[] vActionEventArray)
vActionEventArray - public void setActionEvent(List<ActionEvent> vActionEventList)
vActionEventList - the Vector to copy.public void setActionEventCollection(List<ActionEvent> actionEventList)
actionEventList - the Vector to set.
public static ActionEvents unmarshal(Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
reader -
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||