public class Path extends Object implements Serializable
Constructor and Description |
---|
Path() |
Modifier and Type | Method and Description |
---|---|
void |
addEscalate(Escalate vEscalate) |
void |
addEscalate(int index,
Escalate vEscalate) |
void |
addTarget(int index,
Target vTarget) |
void |
addTarget(Target vTarget) |
Enumeration<Escalate> |
enumerateEscalate()
Method enumerateEscalate.
|
Enumeration<Target> |
enumerateTarget()
Method enumerateTarget.
|
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method.
|
Escalate[] |
getEscalate()
Method getEscalate.Returns the contents of the collection in
an Array.
|
Escalate |
getEscalate(int index)
Method getEscalate.
|
List<Escalate> |
getEscalateCollection()
Method getEscalateCollection.Returns a reference to
'_escalateList'.
|
int |
getEscalateCount()
Method getEscalateCount.
|
String |
getInitialDelay()
Returns the value of field 'initialDelay'.
|
String |
getName()
Returns the value of field 'name'.
|
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<Escalate> |
iterateEscalate()
Method iterateEscalate.
|
Iterator<Target> |
iterateTarget()
Method iterateTarget.
|
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
void |
removeAllEscalate() |
void |
removeAllTarget() |
boolean |
removeEscalate(Escalate vEscalate)
Method removeEscalate.
|
Escalate |
removeEscalateAt(int index)
Method removeEscalateAt.
|
boolean |
removeTarget(Target vTarget)
Method removeTarget.
|
Target |
removeTargetAt(int index)
Method removeTargetAt.
|
void |
setEscalate(Escalate[] vEscalateArray) |
void |
setEscalate(int index,
Escalate vEscalate) |
void |
setEscalate(List<Escalate> vEscalateList)
Sets the value of '_escalateList' by copying the given
Vector.
|
void |
setEscalateCollection(List<Escalate> escalateList)
Deprecated.
|
void |
setInitialDelay(String initialDelay)
Sets the value of field 'initialDelay'.
|
void |
setName(String name)
Sets the value of field 'name'.
|
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 Path |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
public void addEscalate(Escalate vEscalate) throws IndexOutOfBoundsException
vEscalate
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addEscalate(int index, Escalate vEscalate) throws IndexOutOfBoundsException
index
- vEscalate
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic 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<Escalate> enumerateEscalate()
public Enumeration<Target> enumerateTarget()
public boolean equals(Object obj)
public Escalate getEscalate(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Escalate[] getEscalate()
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<Escalate> getEscalateCollection()
public int getEscalateCount()
public String getInitialDelay()
public String getName()
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<Escalate> iterateEscalate()
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 removeAllEscalate()
public void removeAllTarget()
public boolean removeEscalate(Escalate vEscalate)
vEscalate
- public Escalate removeEscalateAt(int index)
index
- public boolean removeTarget(Target vTarget)
vTarget
- public Target removeTargetAt(int index)
index
- public void setEscalate(int index, Escalate vEscalate) throws IndexOutOfBoundsException
index
- vEscalate
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setEscalate(Escalate[] vEscalateArray)
vEscalateArray
- public void setEscalate(List<Escalate> vEscalateList)
vEscalateList
- the Vector to copy.public void setEscalateCollection(List<Escalate> escalateList)
escalateList
- the Vector to set.public void setInitialDelay(String initialDelay)
initialDelay
- the value of field 'initialDelay'.public void setName(String name)
name
- the value of field 'name'.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 Path 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.