org.opennms.netmgt.config.service
Class Invoke

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

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

Class Invoke.

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

Constructor Summary
Invoke()
           
 
Method Summary
 void addArgument(Argument vArgument)
          Method addArgument
 void addArgument(int index, Argument vArgument)
          Method addArgument
 void clearArgument()
          Method clearArgument
 void deletePass()
          Method deletePass
 java.util.Enumeration enumerateArgument()
          Method enumerateArgument
 Argument[] getArgument()
          Method getArgument
 Argument getArgument(int index)
          Method getArgument
 java.util.ArrayList getArgumentCollection()
          Method getArgumentCollection Returns a reference to 'argument'.
 int getArgumentCount()
          Method getArgumentCount
 InvokeAtType getAt()
          Returns the value of field 'at'.
 java.lang.String getMethod()
          Returns the value of field 'method'.
 int getPass()
          Returns the value of field 'pass'.
 boolean hasPass()
          Method hasPass
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 boolean removeArgument(Argument vArgument)
          Method removeArgument
 void setArgument(Argument[] argumentArray)
          Method setArgument
 void setArgument(java.util.ArrayList argumentCollection)
          Method setArgument Sets the value of 'argument' by copying the given ArrayList.
 void setArgument(int index, Argument vArgument)
          Method setArgument
 void setArgumentCollection(java.util.ArrayList argumentCollection)
          Method setArgumentCollection Sets the value of 'argument' by setting it to the given ArrayList.
 void setAt(InvokeAtType at)
          Sets the value of field 'at'.
 void setMethod(java.lang.String method)
          Sets the value of field 'method'.
 void setPass(int pass)
          Sets the value of field 'pass'.
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

Invoke

public Invoke()
Method Detail

addArgument

public void addArgument(Argument vArgument)
                 throws java.lang.IndexOutOfBoundsException
Method addArgument

Parameters:
vArgument -
Throws:
java.lang.IndexOutOfBoundsException

addArgument

public void addArgument(int index,
                        Argument vArgument)
                 throws java.lang.IndexOutOfBoundsException
Method addArgument

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

clearArgument

public void clearArgument()
Method clearArgument


deletePass

public void deletePass()
Method deletePass


enumerateArgument

public java.util.Enumeration enumerateArgument()
Method enumerateArgument

Returns:
Enumeration

getArgument

public Argument getArgument(int index)
                     throws java.lang.IndexOutOfBoundsException
Method getArgument

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

getArgument

public Argument[] getArgument()
Method getArgument

Returns:
Argument

getArgumentCollection

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

Returns:
ArrayList

getArgumentCount

public int getArgumentCount()
Method getArgumentCount

Returns:
int

getAt

public InvokeAtType getAt()
Returns the value of field 'at'.

Returns:
InvokeAtType

getMethod

public java.lang.String getMethod()
Returns the value of field 'method'.

Returns:
String

getPass

public int getPass()
Returns the value of field 'pass'.

Returns:
int

hasPass

public boolean hasPass()
Method hasPass

Returns:
boolean

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

removeArgument

public boolean removeArgument(Argument vArgument)
Method removeArgument

Parameters:
vArgument -
Returns:
boolean

setArgument

public void setArgument(int index,
                        Argument vArgument)
                 throws java.lang.IndexOutOfBoundsException
Method setArgument

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

setArgument

public void setArgument(Argument[] argumentArray)
Method setArgument

Parameters:
argumentArray -

setArgument

public void setArgument(java.util.ArrayList argumentCollection)
Method setArgument Sets the value of 'argument' by copying the given ArrayList.

Parameters:
argumentCollection - the Vector to copy.

setArgumentCollection

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

Parameters:
argumentCollection - the ArrayList to copy.

setAt

public void setAt(InvokeAtType at)
Sets the value of field 'at'.

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

setMethod

public void setMethod(java.lang.String method)
Sets the value of field 'method'.

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

setPass

public void setPass(int pass)
Sets the value of field 'pass'.

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

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.