public class Triggers extends Object implements Serializable
Constructor and Description |
---|
Triggers() |
Modifier and Type | Method and Description |
---|---|
void |
addTrigger(int index,
Trigger vTrigger) |
void |
addTrigger(Trigger vTrigger) |
Enumeration<Trigger> |
enumerateTrigger()
Method enumerateTrigger.
|
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method.
|
Trigger[] |
getTrigger()
Method getTrigger.Returns the contents of the collection in
an Array.
|
Trigger |
getTrigger(int index)
Method getTrigger.
|
List<Trigger> |
getTriggerCollection()
Method getTriggerCollection.Returns a reference to
'_triggerList'.
|
int |
getTriggerCount()
Method getTriggerCount.
|
int |
hashCode()
Overrides the java.lang.Object.hashCode method.
|
boolean |
isValid()
Method isValid.
|
Iterator<Trigger> |
iterateTrigger()
Method iterateTrigger.
|
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
void |
removeAllTrigger() |
boolean |
removeTrigger(Trigger vTrigger)
Method removeTrigger.
|
Trigger |
removeTriggerAt(int index)
Method removeTriggerAt.
|
void |
setTrigger(int index,
Trigger vTrigger) |
void |
setTrigger(List<Trigger> vTriggerList)
Sets the value of '_triggerList' by copying the given
Vector.
|
void |
setTrigger(Trigger[] vTriggerArray) |
void |
setTriggerCollection(List<Trigger> triggerList)
Deprecated.
|
static Triggers |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
public void addTrigger(Trigger vTrigger) throws IndexOutOfBoundsException
vTrigger
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addTrigger(int index, Trigger vTrigger) throws IndexOutOfBoundsException
index
- vTrigger
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Enumeration<Trigger> enumerateTrigger()
public boolean equals(Object obj)
public Trigger getTrigger(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Trigger[] getTrigger()
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<Trigger> getTriggerCollection()
public int getTriggerCount()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
public boolean isValid()
public Iterator<Trigger> iterateTrigger()
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 removeAllTrigger()
public boolean removeTrigger(Trigger vTrigger)
vTrigger
- public Trigger removeTriggerAt(int index)
index
- public void setTrigger(int index, Trigger vTrigger) throws IndexOutOfBoundsException
index
- vTrigger
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setTrigger(Trigger[] vTriggerArray)
vTriggerArray
- public void setTrigger(List<Trigger> vTriggerList)
vTriggerList
- the Vector to copy.public void setTriggerCollection(List<Trigger> triggerList)
triggerList
- the Vector to set.public static Triggers 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.