org.opennms.netmgt.config.destinationPaths
Class Path

java.lang.Object
  extended by org.opennms.netmgt.config.destinationPaths.Path
All Implemented Interfaces:
java.io.Serializable

public class Path
extends java.lang.Object
implements java.io.Serializable

Class Path.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
Path()
           
 
Method Summary
 void addEscalate(Escalate vEscalate)
          Method addEscalate
 void addEscalate(int index, Escalate vEscalate)
          Method addEscalate
 void addTarget(int index, Target vTarget)
          Method addTarget
 void addTarget(Target vTarget)
          Method addTarget
 void clearEscalate()
          Method clearEscalate
 void clearTarget()
          Method clearTarget
 java.util.Enumeration enumerateEscalate()
          Method enumerateEscalate
 java.util.Enumeration enumerateTarget()
          Method enumerateTarget
 Escalate[] getEscalate()
          Method getEscalate
 Escalate getEscalate(int index)
          Method getEscalate
 java.util.ArrayList getEscalateCollection()
          Method getEscalateCollection Returns a reference to 'escalate'.
 int getEscalateCount()
          Method getEscalateCount
 java.lang.String getInitialDelay()
          Returns the value of field 'initialDelay'.
 java.lang.String getName()
          Returns the value of field 'name'.
 Target[] getTarget()
          Method getTarget
 Target getTarget(int index)
          Method getTarget
 java.util.ArrayList getTargetCollection()
          Method getTargetCollection Returns a reference to 'target'.
 int getTargetCount()
          Method getTargetCount
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 boolean removeEscalate(Escalate vEscalate)
          Method removeEscalate
 boolean removeTarget(Target vTarget)
          Method removeTarget
 void setEscalate(java.util.ArrayList escalateCollection)
          Method setEscalate Sets the value of 'escalate' by copying the given ArrayList.
 void setEscalate(Escalate[] escalateArray)
          Method setEscalate
 void setEscalate(int index, Escalate vEscalate)
          Method setEscalate
 void setEscalateCollection(java.util.ArrayList escalateCollection)
          Method setEscalateCollection Sets the value of 'escalate' by setting it to the given ArrayList.
 void setInitialDelay(java.lang.String initialDelay)
          Sets the value of field 'initialDelay'.
 void setName(java.lang.String name)
          Sets the value of field 'name'.
 void setTarget(java.util.ArrayList targetCollection)
          Method setTarget Sets the value of 'target' by copying the given ArrayList.
 void setTarget(int index, Target vTarget)
          Method setTarget
 void setTarget(Target[] targetArray)
          Method setTarget
 void setTargetCollection(java.util.ArrayList targetCollection)
          Method setTargetCollection Sets the value of 'target' by setting it to the given ArrayList.
static java.lang.Object unmarshal(java.io.Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Path

public Path()
Method Detail

addEscalate

public void addEscalate(Escalate vEscalate)
                 throws java.lang.IndexOutOfBoundsException
Method addEscalate

Parameters:
vEscalate -
Throws:
java.lang.IndexOutOfBoundsException

addEscalate

public void addEscalate(int index,
                        Escalate vEscalate)
                 throws java.lang.IndexOutOfBoundsException
Method addEscalate

Parameters:
index -
vEscalate -
Throws:
java.lang.IndexOutOfBoundsException

addTarget

public void addTarget(Target vTarget)
               throws java.lang.IndexOutOfBoundsException
Method addTarget

Parameters:
vTarget -
Throws:
java.lang.IndexOutOfBoundsException

addTarget

public void addTarget(int index,
                      Target vTarget)
               throws java.lang.IndexOutOfBoundsException
Method addTarget

Parameters:
index -
vTarget -
Throws:
java.lang.IndexOutOfBoundsException

clearEscalate

public void clearEscalate()
Method clearEscalate


clearTarget

public void clearTarget()
Method clearTarget


enumerateEscalate

public java.util.Enumeration enumerateEscalate()
Method enumerateEscalate

Returns:
Enumeration

enumerateTarget

public java.util.Enumeration enumerateTarget()
Method enumerateTarget

Returns:
Enumeration

getEscalate

public Escalate getEscalate(int index)
                     throws java.lang.IndexOutOfBoundsException
Method getEscalate

Parameters:
index -
Returns:
Escalate
Throws:
java.lang.IndexOutOfBoundsException

getEscalate

public Escalate[] getEscalate()
Method getEscalate

Returns:
Escalate

getEscalateCollection

public java.util.ArrayList getEscalateCollection()
Method getEscalateCollection Returns a reference to 'escalate'. No type checking is performed on any modications to the Collection.

Returns:
ArrayList

getEscalateCount

public int getEscalateCount()
Method getEscalateCount

Returns:
int

getInitialDelay

public java.lang.String getInitialDelay()
Returns the value of field 'initialDelay'.

Returns:
String

getName

public java.lang.String getName()
Returns the value of field 'name'.

Returns:
String

getTarget

public Target getTarget(int index)
                 throws java.lang.IndexOutOfBoundsException
Method getTarget

Parameters:
index -
Returns:
Target
Throws:
java.lang.IndexOutOfBoundsException

getTarget

public Target[] getTarget()
Method getTarget

Returns:
Target

getTargetCollection

public java.util.ArrayList getTargetCollection()
Method getTargetCollection Returns a reference to 'target'. No type checking is performed on any modications to the Collection.

Returns:
ArrayList

getTargetCount

public int getTargetCount()
Method getTargetCount

Returns:
int

isValid

public boolean isValid()
Method isValid

Returns:
boolean

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
handler -
Throws:
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

removeEscalate

public boolean removeEscalate(Escalate vEscalate)
Method removeEscalate

Parameters:
vEscalate -
Returns:
boolean

removeTarget

public boolean removeTarget(Target vTarget)
Method removeTarget

Parameters:
vTarget -
Returns:
boolean

setEscalate

public void setEscalate(int index,
                        Escalate vEscalate)
                 throws java.lang.IndexOutOfBoundsException
Method setEscalate

Parameters:
index -
vEscalate -
Throws:
java.lang.IndexOutOfBoundsException

setEscalate

public void setEscalate(Escalate[] escalateArray)
Method setEscalate

Parameters:
escalateArray -

setEscalate

public void setEscalate(java.util.ArrayList escalateCollection)
Method setEscalate Sets the value of 'escalate' by copying the given ArrayList.

Parameters:
escalateCollection - the Vector to copy.

setEscalateCollection

public void setEscalateCollection(java.util.ArrayList escalateCollection)
Method setEscalateCollection Sets the value of 'escalate' by setting it to the given ArrayList. No type checking is performed.

Parameters:
escalateCollection - the ArrayList to copy.

setInitialDelay

public void setInitialDelay(java.lang.String initialDelay)
Sets the value of field 'initialDelay'.

Parameters:
initialDelay - the value of field 'initialDelay'.

setName

public void setName(java.lang.String name)
Sets the value of field 'name'.

Parameters:
name - the value of field 'name'.

setTarget

public void setTarget(int index,
                      Target vTarget)
               throws java.lang.IndexOutOfBoundsException
Method setTarget

Parameters:
index -
vTarget -
Throws:
java.lang.IndexOutOfBoundsException

setTarget

public void setTarget(Target[] targetArray)
Method setTarget

Parameters:
targetArray -

setTarget

public void setTarget(java.util.ArrayList targetCollection)
Method setTarget Sets the value of 'target' by copying the given ArrayList.

Parameters:
targetCollection - the Vector to copy.

setTargetCollection

public void setTargetCollection(java.util.ArrayList targetCollection)
Method setTargetCollection Sets the value of 'target' by setting it to the given ArrayList. No type checking is performed.

Parameters:
targetCollection - the ArrayList to copy.

unmarshal

public static java.lang.Object unmarshal(java.io.Reader reader)
                                  throws org.exolab.castor.xml.MarshalException,
                                         org.exolab.castor.xml.ValidationException
Method unmarshal

Parameters:
reader -
Returns:
Object
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Method validate

Throws:
org.exolab.castor.xml.ValidationException


Copyright © 2007. All Rights Reserved.