|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.vacuumd.Automations
public class Automations
Class Automations.
| Constructor Summary | |
|---|---|
Automations()
|
|
| Method Summary | |
|---|---|
void |
addAutomation(Automation vAutomation)
|
void |
addAutomation(int index,
Automation vAutomation)
|
Enumeration<Automation> |
enumerateAutomation()
Method enumerateAutomation. |
Automation[] |
getAutomation()
Method getAutomation.Returns the contents of the collection in an Array. |
Automation |
getAutomation(int index)
Method getAutomation. |
List<Automation> |
getAutomationCollection()
Method getAutomationCollection.Returns a reference to '_automationList'. |
int |
getAutomationCount()
Method getAutomationCount. |
boolean |
isValid()
Method isValid. |
Iterator<Automation> |
iterateAutomation()
Method iterateAutomation. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
removeAllAutomation()
|
boolean |
removeAutomation(Automation vAutomation)
Method removeAutomation. |
Automation |
removeAutomationAt(int index)
Method removeAutomationAt. |
void |
setAutomation(Automation[] vAutomationArray)
|
void |
setAutomation(int index,
Automation vAutomation)
|
void |
setAutomation(List<Automation> vAutomationList)
Sets the value of '_automationList' by copying the given Vector. |
void |
setAutomationCollection(List<Automation> automationList)
Deprecated. |
static Automations |
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 Automations()
| Method Detail |
|---|
public void addAutomation(Automation vAutomation)
throws IndexOutOfBoundsException
vAutomation -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addAutomation(int index,
Automation vAutomation)
throws IndexOutOfBoundsException
index - vAutomation -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Enumeration<Automation> enumerateAutomation()
public Automation getAutomation(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Automation[] getAutomation()
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<Automation> getAutomationCollection()
public int getAutomationCount()
public boolean isValid()
public Iterator<Automation> iterateAutomation()
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 void removeAllAutomation()
public boolean removeAutomation(Automation vAutomation)
vAutomation -
public Automation removeAutomationAt(int index)
index -
public void setAutomation(int index,
Automation vAutomation)
throws IndexOutOfBoundsException
index - vAutomation -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setAutomation(Automation[] vAutomationArray)
vAutomationArray - public void setAutomation(List<Automation> vAutomationList)
vAutomationList - the Vector to copy.public void setAutomationCollection(List<Automation> automationList)
automationList - the Vector to set.
public static Automations 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 | ||||||||