|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openoss.opennms.spring.qosd.QoSDConfiguration
public class QoSDConfiguration
Class QoSDConfiguration.
| Constructor Summary | |
|---|---|
QoSDConfiguration()
|
|
| Method Summary | |
|---|---|
void |
addSetting(int index,
Setting vSetting)
|
void |
addSetting(Setting vSetting)
|
java.util.Enumeration<Setting> |
enumerateSetting()
Method enumerateSetting. |
Eventlist |
getEventlist()
Returns the value of field 'eventlist'. |
Setting[] |
getSetting()
Method getSetting.Returns the contents of the collection in an Array. |
Setting |
getSetting(int index)
Method getSetting. |
java.util.List<Setting> |
getSettingCollection()
Method getSettingCollection.Returns a reference to '_settingList'. |
int |
getSettingCount()
Method getSettingCount. |
boolean |
isValid()
Method isValid. |
java.util.Iterator<Setting> |
iterateSetting()
Method iterateSetting. |
void |
marshal(org.xml.sax.ContentHandler handler)
|
void |
marshal(java.io.Writer out)
|
void |
removeAllSetting()
|
boolean |
removeSetting(Setting vSetting)
Method removeSetting. |
Setting |
removeSettingAt(int index)
Method removeSettingAt. |
void |
setEventlist(Eventlist eventlist)
Sets the value of field 'eventlist'. |
void |
setSetting(int index,
Setting vSetting)
|
void |
setSetting(java.util.List<Setting> vSettingList)
Sets the value of '_settingList' by copying the given Vector. |
void |
setSetting(Setting[] vSettingArray)
|
void |
setSettingCollection(java.util.List<Setting> settingList)
Deprecated. |
static QoSDConfiguration |
unmarshal(java.io.Reader reader)
Method unmarshal. |
void |
validate()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QoSDConfiguration()
| Method Detail |
|---|
public void addSetting(Setting vSetting)
throws java.lang.IndexOutOfBoundsException
vSetting -
java.lang.IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addSetting(int index,
Setting vSetting)
throws java.lang.IndexOutOfBoundsException
index - vSetting -
java.lang.IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic java.util.Enumeration<Setting> enumerateSetting()
public Eventlist getEventlist()
public Setting getSetting(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Setting[] getSetting()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public java.util.List<Setting> getSettingCollection()
public int getSettingCount()
public boolean isValid()
public java.util.Iterator<Setting> iterateSetting()
public void marshal(java.io.Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
out -
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void marshal(org.xml.sax.ContentHandler handler)
throws java.io.IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler -
java.io.IOException - if an IOException occurs during
marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshalingpublic void removeAllSetting()
public boolean removeSetting(Setting vSetting)
vSetting -
public Setting removeSettingAt(int index)
index -
public void setEventlist(Eventlist eventlist)
eventlist - the value of field 'eventlist'.
public void setSetting(int index,
Setting vSetting)
throws java.lang.IndexOutOfBoundsException
index - vSetting -
java.lang.IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setSetting(Setting[] vSettingArray)
vSettingArray - public void setSetting(java.util.List<Setting> vSettingList)
vSettingList - the Vector to copy.public void setSettingCollection(java.util.List<Setting> settingList)
settingList - the Vector to set.
public static QoSDConfiguration unmarshal(java.io.Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
reader -
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||