org.opennms.netmgt.xml.event
Class EventReceipt

java.lang.Object
  extended by org.opennms.netmgt.xml.event.EventReceipt
All Implemented Interfaces:
java.io.Serializable

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

Class EventReceipt.

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

Constructor Summary
EventReceipt()
           
 
Method Summary
 void addUuid(int index, java.lang.String vUuid)
          Method addUuid
 void addUuid(java.lang.String vUuid)
          Method addUuid
 void clearUuid()
          Method clearUuid
 java.util.Enumeration enumerateUuid()
          Method enumerateUuid
 java.lang.String[] getUuid()
          Method getUuid
 java.lang.String getUuid(int index)
          Method getUuid
 java.util.ArrayList getUuidCollection()
          Method getUuidCollection Returns a reference to 'uuid'.
 int getUuidCount()
          Method getUuidCount
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 boolean removeUuid(java.lang.String vUuid)
          Method removeUuid
 void setUuid(java.util.ArrayList uuidCollection)
          Method setUuid Sets the value of 'uuid' by copying the given ArrayList.
 void setUuid(int index, java.lang.String vUuid)
          Method setUuid
 void setUuid(java.lang.String[] uuidArray)
          Method setUuid
 void setUuidCollection(java.util.ArrayList uuidCollection)
          Method setUuidCollection Sets the value of 'uuid' 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

EventReceipt

public EventReceipt()
Method Detail

addUuid

public void addUuid(java.lang.String vUuid)
             throws java.lang.IndexOutOfBoundsException
Method addUuid

Parameters:
vUuid -
Throws:
java.lang.IndexOutOfBoundsException

addUuid

public void addUuid(int index,
                    java.lang.String vUuid)
             throws java.lang.IndexOutOfBoundsException
Method addUuid

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

clearUuid

public void clearUuid()
Method clearUuid


enumerateUuid

public java.util.Enumeration enumerateUuid()
Method enumerateUuid

Returns:
Enumeration

getUuid

public java.lang.String getUuid(int index)
                         throws java.lang.IndexOutOfBoundsException
Method getUuid

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

getUuid

public java.lang.String[] getUuid()
Method getUuid

Returns:
String

getUuidCollection

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

Returns:
ArrayList

getUuidCount

public int getUuidCount()
Method getUuidCount

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

removeUuid

public boolean removeUuid(java.lang.String vUuid)
Method removeUuid

Parameters:
vUuid -
Returns:
boolean

setUuid

public void setUuid(int index,
                    java.lang.String vUuid)
             throws java.lang.IndexOutOfBoundsException
Method setUuid

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

setUuid

public void setUuid(java.lang.String[] uuidArray)
Method setUuid

Parameters:
uuidArray -

setUuid

public void setUuid(java.util.ArrayList uuidCollection)
Method setUuid Sets the value of 'uuid' by copying the given ArrayList.

Parameters:
uuidCollection - the Vector to copy.

setUuidCollection

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

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