org.opennms.netmgt.config.scriptd
Class EventScript

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

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

Class EventScript.

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

Constructor Summary
EventScript()
           
 
Method Summary
 void addUei(int index, Uei vUei)
          Method addUei
 void addUei(Uei vUei)
          Method addUei
 void clearUei()
          Method clearUei
 java.util.Enumeration enumerateUei()
          Method enumerateUei
 java.lang.String getContent()
          Returns the value of field 'content'.
 java.lang.String getLanguage()
          Returns the value of field 'language'.
 Uei[] getUei()
          Method getUei
 Uei getUei(int index)
          Method getUei
 java.util.ArrayList getUeiCollection()
          Method getUeiCollection Returns a reference to 'uei'.
 int getUeiCount()
          Method getUeiCount
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 boolean removeUei(Uei vUei)
          Method removeUei
 void setContent(java.lang.String content)
          Sets the value of field 'content'.
 void setLanguage(java.lang.String language)
          Sets the value of field 'language'.
 void setUei(java.util.ArrayList ueiCollection)
          Method setUei Sets the value of 'uei' by copying the given ArrayList.
 void setUei(int index, Uei vUei)
          Method setUei
 void setUei(Uei[] ueiArray)
          Method setUei
 void setUeiCollection(java.util.ArrayList ueiCollection)
          Method setUeiCollection Sets the value of 'uei' 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

EventScript

public EventScript()
Method Detail

addUei

public void addUei(Uei vUei)
            throws java.lang.IndexOutOfBoundsException
Method addUei

Parameters:
vUei -
Throws:
java.lang.IndexOutOfBoundsException

addUei

public void addUei(int index,
                   Uei vUei)
            throws java.lang.IndexOutOfBoundsException
Method addUei

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

clearUei

public void clearUei()
Method clearUei


enumerateUei

public java.util.Enumeration enumerateUei()
Method enumerateUei

Returns:
Enumeration

getContent

public java.lang.String getContent()
Returns the value of field 'content'. The field 'content' has the following description: internal content storage

Returns:
String

getLanguage

public java.lang.String getLanguage()
Returns the value of field 'language'.

Returns:
String

getUei

public Uei getUei(int index)
           throws java.lang.IndexOutOfBoundsException
Method getUei

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

getUei

public Uei[] getUei()
Method getUei

Returns:
Uei

getUeiCollection

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

Returns:
ArrayList

getUeiCount

public int getUeiCount()
Method getUeiCount

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

removeUei

public boolean removeUei(Uei vUei)
Method removeUei

Parameters:
vUei -
Returns:
boolean

setContent

public void setContent(java.lang.String content)
Sets the value of field 'content'. The field 'content' has the following description: internal content storage

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

setLanguage

public void setLanguage(java.lang.String language)
Sets the value of field 'language'.

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

setUei

public void setUei(int index,
                   Uei vUei)
            throws java.lang.IndexOutOfBoundsException
Method setUei

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

setUei

public void setUei(Uei[] ueiArray)
Method setUei

Parameters:
ueiArray -

setUei

public void setUei(java.util.ArrayList ueiCollection)
Method setUei Sets the value of 'uei' by copying the given ArrayList.

Parameters:
ueiCollection - the Vector to copy.

setUeiCollection

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

Parameters:
ueiCollection - 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.