org.opennms.netmgt.config.destinationPaths
Class Escalate

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

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

Class Escalate.

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

Constructor Summary
Escalate()
           
 
Method Summary
 void addTarget(int index, Target vTarget)
          Method addTarget
 void addTarget(Target vTarget)
          Method addTarget
 void clearTarget()
          Method clearTarget
 java.util.Enumeration enumerateTarget()
          Method enumerateTarget
 java.lang.String getDelay()
          Returns the value of field 'delay'.
 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 removeTarget(Target vTarget)
          Method removeTarget
 void setDelay(java.lang.String delay)
          Sets the value of field 'delay'.
 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

Escalate

public Escalate()
Method Detail

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

clearTarget

public void clearTarget()
Method clearTarget


enumerateTarget

public java.util.Enumeration enumerateTarget()
Method enumerateTarget

Returns:
Enumeration

getDelay

public java.lang.String getDelay()
Returns the value of field 'delay'.

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

removeTarget

public boolean removeTarget(Target vTarget)
Method removeTarget

Parameters:
vTarget -
Returns:
boolean

setDelay

public void setDelay(java.lang.String delay)
Sets the value of field 'delay'.

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

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.