public class Escalate extends Object implements Serializable
Constructor and Description |
---|
Escalate() |
Modifier and Type | Method and Description |
---|---|
void |
addTarget(int index,
Target vTarget) |
void |
addTarget(Target vTarget) |
Enumeration<Target> |
enumerateTarget()
Method enumerateTarget.
|
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method.
|
String |
getDelay()
Returns the value of field 'delay'.
|
Target[] |
getTarget()
Method getTarget.Returns the contents of the collection in
an Array.
|
Target |
getTarget(int index)
Method getTarget.
|
List<Target> |
getTargetCollection()
Method getTargetCollection.Returns a reference to
'_targetList'.
|
int |
getTargetCount()
Method getTargetCount.
|
int |
hashCode()
Overrides the java.lang.Object.hashCode method.
|
boolean |
isValid()
Method isValid.
|
Iterator<Target> |
iterateTarget()
Method iterateTarget.
|
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
void |
removeAllTarget() |
boolean |
removeTarget(Target vTarget)
Method removeTarget.
|
Target |
removeTargetAt(int index)
Method removeTargetAt.
|
void |
setDelay(String delay)
Sets the value of field 'delay'.
|
void |
setTarget(int index,
Target vTarget) |
void |
setTarget(List<Target> vTargetList)
Sets the value of '_targetList' by copying the given Vector.
|
void |
setTarget(Target[] vTargetArray) |
void |
setTargetCollection(List<Target> targetList)
Deprecated.
|
static Escalate |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
public void addTarget(Target vTarget) throws IndexOutOfBoundsException
vTarget
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addTarget(int index, Target vTarget) throws IndexOutOfBoundsException
index
- vTarget
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Enumeration<Target> enumerateTarget()
public boolean equals(Object obj)
public String getDelay()
public Target getTarget(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Target[] getTarget()
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<Target> getTargetCollection()
public int getTargetCount()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
public boolean isValid()
public Iterator<Target> iterateTarget()
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 removeAllTarget()
public boolean removeTarget(Target vTarget)
vTarget
- public Target removeTargetAt(int index)
index
- public void setDelay(String delay)
delay
- the value of field 'delay'.public void setTarget(int index, Target vTarget) throws IndexOutOfBoundsException
index
- vTarget
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setTarget(Target[] vTargetArray)
vTargetArray
- public void setTarget(List<Target> vTargetList)
vTargetList
- the Vector to copy.public void setTargetCollection(List<Target> targetList)
targetList
- the Vector to set.public static Escalate 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 © 2017. All rights reserved.