public class Automations extends Object implements Serializable
Constructor and Description |
---|
Automations() |
Modifier and Type | Method and Description |
---|---|
void |
addAutomation(Automation vAutomation) |
void |
addAutomation(int index,
Automation vAutomation) |
Enumeration<Automation> |
enumerateAutomation()
Method enumerateAutomation.
|
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method.
|
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.
|
int |
hashCode()
Overrides the java.lang.Object.hashCode method.
|
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() |
public void addAutomation(Automation vAutomation) throws IndexOutOfBoundsException
vAutomation
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic 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 boolean equals(Object obj)
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 int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
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 marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void marshal(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
- IOException
- if an IOException occurs during
marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaorg.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 marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaCopyright © 2015. All Rights Reserved.