org.opennms.netmgt.config.vacuumd
Class Automations

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

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

Class Automations.

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

Constructor Summary
Automations()
           
 
Method Summary
 void addAutomation(Automation vAutomation)
          Method addAutomation
 void addAutomation(int index, Automation vAutomation)
          Method addAutomation
 void clearAutomation()
          Method clearAutomation
 java.util.Enumeration enumerateAutomation()
          Method enumerateAutomation
 Automation[] getAutomation()
          Method getAutomation
 Automation getAutomation(int index)
          Method getAutomation
 java.util.ArrayList getAutomationCollection()
          Method getAutomationCollection Returns a reference to 'automation'.
 int getAutomationCount()
          Method getAutomationCount
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 boolean removeAutomation(Automation vAutomation)
          Method removeAutomation
 void setAutomation(java.util.ArrayList automationCollection)
          Method setAutomation Sets the value of 'automation' by copying the given ArrayList.
 void setAutomation(Automation[] automationArray)
          Method setAutomation
 void setAutomation(int index, Automation vAutomation)
          Method setAutomation
 void setAutomationCollection(java.util.ArrayList automationCollection)
          Method setAutomationCollection Sets the value of 'automation' 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

Automations

public Automations()
Method Detail

addAutomation

public void addAutomation(Automation vAutomation)
                   throws java.lang.IndexOutOfBoundsException
Method addAutomation

Parameters:
vAutomation -
Throws:
java.lang.IndexOutOfBoundsException

addAutomation

public void addAutomation(int index,
                          Automation vAutomation)
                   throws java.lang.IndexOutOfBoundsException
Method addAutomation

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

clearAutomation

public void clearAutomation()
Method clearAutomation


enumerateAutomation

public java.util.Enumeration enumerateAutomation()
Method enumerateAutomation

Returns:
Enumeration

getAutomation

public Automation getAutomation(int index)
                         throws java.lang.IndexOutOfBoundsException
Method getAutomation

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

getAutomation

public Automation[] getAutomation()
Method getAutomation

Returns:
Automation

getAutomationCollection

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

Returns:
ArrayList

getAutomationCount

public int getAutomationCount()
Method getAutomationCount

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

removeAutomation

public boolean removeAutomation(Automation vAutomation)
Method removeAutomation

Parameters:
vAutomation -
Returns:
boolean

setAutomation

public void setAutomation(int index,
                          Automation vAutomation)
                   throws java.lang.IndexOutOfBoundsException
Method setAutomation

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

setAutomation

public void setAutomation(Automation[] automationArray)
Method setAutomation

Parameters:
automationArray -

setAutomation

public void setAutomation(java.util.ArrayList automationCollection)
Method setAutomation Sets the value of 'automation' by copying the given ArrayList.

Parameters:
automationCollection - the Vector to copy.

setAutomationCollection

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

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