public class QoSDConfiguration extends Object implements Serializable
Constructor and Description |
---|
QoSDConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
addSetting(int index,
Setting vSetting) |
void |
addSetting(Setting vSetting) |
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.
|
List<Setting> |
getSettingCollection()
Method getSettingCollection.Returns a reference to
'_settingList'.
|
int |
getSettingCount()
Method getSettingCount.
|
boolean |
isValid()
Method isValid.
|
Iterator<Setting> |
iterateSetting()
Method iterateSetting.
|
void |
marshal(ContentHandler handler) |
void |
marshal(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(List<Setting> vSettingList)
Sets the value of '_settingList' by copying the given
Vector.
|
void |
setSetting(Setting[] vSettingArray) |
void |
setSettingCollection(List<Setting> settingList)
Deprecated.
|
static QoSDConfiguration |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
public void addSetting(Setting vSetting) throws IndexOutOfBoundsException
vSetting
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addSetting(int index, Setting vSetting) throws IndexOutOfBoundsException
index
- vSetting
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Enumeration<Setting> enumerateSetting()
public Eventlist getEventlist()
public Setting getSetting(int index) throws IndexOutOfBoundsException
index
- 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 List<Setting> getSettingCollection()
public int getSettingCount()
public boolean isValid()
public Iterator<Setting> iterateSetting()
public void marshal(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 marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void marshal(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
- IOException
- if an IOException occurs during
marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaorg.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 IndexOutOfBoundsException
index
- vSetting
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setSetting(Setting[] vSettingArray)
vSettingArray
- public void setSetting(List<Setting> vSettingList)
vSettingList
- the Vector to copy.public void setSettingCollection(List<Setting> settingList)
settingList
- the Vector to set.public static QoSDConfiguration unmarshal(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 marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaCopyright © 2015. All Rights Reserved.