org.opennms.netmgt.config.vacuumd
Class AutoEvents

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

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

Class AutoEvents.

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

Constructor Summary
AutoEvents()
           
 
Method Summary
 void addAutoEvent(AutoEvent vAutoEvent)
          Method addAutoEvent
 void addAutoEvent(int index, AutoEvent vAutoEvent)
          Method addAutoEvent
 void clearAutoEvent()
          Method clearAutoEvent
 java.util.Enumeration enumerateAutoEvent()
          Method enumerateAutoEvent
 AutoEvent[] getAutoEvent()
          Method getAutoEvent
 AutoEvent getAutoEvent(int index)
          Method getAutoEvent
 java.util.ArrayList getAutoEventCollection()
          Method getAutoEventCollection Returns a reference to 'autoEvent'.
 int getAutoEventCount()
          Method getAutoEventCount
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 boolean removeAutoEvent(AutoEvent vAutoEvent)
          Method removeAutoEvent
 void setAutoEvent(java.util.ArrayList autoEventCollection)
          Method setAutoEvent Sets the value of 'autoEvent' by copying the given ArrayList.
 void setAutoEvent(AutoEvent[] autoEventArray)
          Method setAutoEvent
 void setAutoEvent(int index, AutoEvent vAutoEvent)
          Method setAutoEvent
 void setAutoEventCollection(java.util.ArrayList autoEventCollection)
          Method setAutoEventCollection Sets the value of 'autoEvent' 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

AutoEvents

public AutoEvents()
Method Detail

addAutoEvent

public void addAutoEvent(AutoEvent vAutoEvent)
                  throws java.lang.IndexOutOfBoundsException
Method addAutoEvent

Parameters:
vAutoEvent -
Throws:
java.lang.IndexOutOfBoundsException

addAutoEvent

public void addAutoEvent(int index,
                         AutoEvent vAutoEvent)
                  throws java.lang.IndexOutOfBoundsException
Method addAutoEvent

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

clearAutoEvent

public void clearAutoEvent()
Method clearAutoEvent


enumerateAutoEvent

public java.util.Enumeration enumerateAutoEvent()
Method enumerateAutoEvent

Returns:
Enumeration

getAutoEvent

public AutoEvent getAutoEvent(int index)
                       throws java.lang.IndexOutOfBoundsException
Method getAutoEvent

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

getAutoEvent

public AutoEvent[] getAutoEvent()
Method getAutoEvent

Returns:
AutoEvent

getAutoEventCollection

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

Returns:
ArrayList

getAutoEventCount

public int getAutoEventCount()
Method getAutoEventCount

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

removeAutoEvent

public boolean removeAutoEvent(AutoEvent vAutoEvent)
Method removeAutoEvent

Parameters:
vAutoEvent -
Returns:
boolean

setAutoEvent

public void setAutoEvent(int index,
                         AutoEvent vAutoEvent)
                  throws java.lang.IndexOutOfBoundsException
Method setAutoEvent

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

setAutoEvent

public void setAutoEvent(AutoEvent[] autoEventArray)
Method setAutoEvent

Parameters:
autoEventArray -

setAutoEvent

public void setAutoEvent(java.util.ArrayList autoEventCollection)
Method setAutoEvent Sets the value of 'autoEvent' by copying the given ArrayList.

Parameters:
autoEventCollection - the Vector to copy.

setAutoEventCollection

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

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