org.openoss.opennms.spring.qosd
Class QoSDConfiguration

java.lang.Object
  extended by org.openoss.opennms.spring.qosd.QoSDConfiguration
All Implemented Interfaces:
java.io.Serializable

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

Class QoSDConfiguration.

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

Constructor Summary
QoSDConfiguration()
           
 
Method Summary
 void addSetting(int index, Setting vSetting)
          Method addSetting
 void addSetting(Setting vSetting)
          Method addSetting
 void clearSetting()
          Method clearSetting
 java.util.Enumeration enumerateSetting()
          Method enumerateSetting
 Eventlist getEventlist()
          Returns the value of field 'eventlist'.
 Setting[] getSetting()
          Method getSetting
 Setting getSetting(int index)
          Method getSetting
 java.util.ArrayList getSettingCollection()
          Method getSettingCollection Returns a reference to 'setting'.
 int getSettingCount()
          Method getSettingCount
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 boolean removeSetting(Setting vSetting)
          Method removeSetting
 void setEventlist(Eventlist eventlist)
          Sets the value of field 'eventlist'.
 void setSetting(java.util.ArrayList settingCollection)
          Method setSetting Sets the value of 'setting' by copying the given ArrayList.
 void setSetting(int index, Setting vSetting)
          Method setSetting
 void setSetting(Setting[] settingArray)
          Method setSetting
 void setSettingCollection(java.util.ArrayList settingCollection)
          Method setSettingCollection Sets the value of 'setting' 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

QoSDConfiguration

public QoSDConfiguration()
Method Detail

addSetting

public void addSetting(Setting vSetting)
                throws java.lang.IndexOutOfBoundsException
Method addSetting

Parameters:
vSetting -
Throws:
java.lang.IndexOutOfBoundsException

addSetting

public void addSetting(int index,
                       Setting vSetting)
                throws java.lang.IndexOutOfBoundsException
Method addSetting

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

clearSetting

public void clearSetting()
Method clearSetting


enumerateSetting

public java.util.Enumeration enumerateSetting()
Method enumerateSetting

Returns:
Enumeration

getEventlist

public Eventlist getEventlist()
Returns the value of field 'eventlist'.

Returns:
Eventlist

getSetting

public Setting getSetting(int index)
                   throws java.lang.IndexOutOfBoundsException
Method getSetting

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

getSetting

public Setting[] getSetting()
Method getSetting

Returns:
Setting

getSettingCollection

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

Returns:
ArrayList

getSettingCount

public int getSettingCount()
Method getSettingCount

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

removeSetting

public boolean removeSetting(Setting vSetting)
Method removeSetting

Parameters:
vSetting -
Returns:
boolean

setEventlist

public void setEventlist(Eventlist eventlist)
Sets the value of field 'eventlist'.

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

setSetting

public void setSetting(int index,
                       Setting vSetting)
                throws java.lang.IndexOutOfBoundsException
Method setSetting

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

setSetting

public void setSetting(Setting[] settingArray)
Method setSetting

Parameters:
settingArray -

setSetting

public void setSetting(java.util.ArrayList settingCollection)
Method setSetting Sets the value of 'setting' by copying the given ArrayList.

Parameters:
settingCollection - the Vector to copy.

setSettingCollection

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

Parameters:
settingCollection - 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 © 2006-2007. All Rights Reserved.