|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.tl1d.Tl1dConfiguration
public class Tl1dConfiguration
Class Tl1dConfiguration.
| Constructor Summary | |
|---|---|
Tl1dConfiguration()
|
|
| Method Summary | |
|---|---|
void |
addTl1Element(int index,
Tl1Element vTl1Element)
|
void |
addTl1Element(Tl1Element vTl1Element)
|
Enumeration<Tl1Element> |
enumerateTl1Element()
Method enumerateTl1Element. |
Tl1Element[] |
getTl1Element()
Method getTl1Element.Returns the contents of the collection in an Array. |
Tl1Element |
getTl1Element(int index)
Method getTl1Element. |
List<Tl1Element> |
getTl1ElementCollection()
Method getTl1ElementCollection.Returns a reference to '_tl1ElementList'. |
int |
getTl1ElementCount()
Method getTl1ElementCount. |
boolean |
isValid()
Method isValid. |
Iterator<Tl1Element> |
iterateTl1Element()
Method iterateTl1Element. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
removeAllTl1Element()
|
boolean |
removeTl1Element(Tl1Element vTl1Element)
Method removeTl1Element. |
Tl1Element |
removeTl1ElementAt(int index)
Method removeTl1ElementAt. |
void |
setTl1Element(int index,
Tl1Element vTl1Element)
|
void |
setTl1Element(List<Tl1Element> vTl1ElementList)
Sets the value of '_tl1ElementList' by copying the given Vector. |
void |
setTl1Element(Tl1Element[] vTl1ElementArray)
|
void |
setTl1ElementCollection(List<Tl1Element> tl1ElementList)
Deprecated. |
static Tl1dConfiguration |
unmarshal(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 Tl1dConfiguration()
| Method Detail |
|---|
public void addTl1Element(Tl1Element vTl1Element)
throws IndexOutOfBoundsException
vTl1Element -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addTl1Element(int index,
Tl1Element vTl1Element)
throws IndexOutOfBoundsException
index - vTl1Element -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Enumeration<Tl1Element> enumerateTl1Element()
public Tl1Element getTl1Element(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Tl1Element[] getTl1Element()
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<Tl1Element> getTl1ElementCollection()
public int getTl1ElementCount()
public boolean isValid()
public Iterator<Tl1Element> iterateTl1Element()
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 marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void marshal(ContentHandler handler)
throws IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler -
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 removeAllTl1Element()
public boolean removeTl1Element(Tl1Element vTl1Element)
vTl1Element -
public Tl1Element removeTl1ElementAt(int index)
index -
public void setTl1Element(int index,
Tl1Element vTl1Element)
throws IndexOutOfBoundsException
index - vTl1Element -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setTl1Element(Tl1Element[] vTl1ElementArray)
vTl1ElementArray - public void setTl1Element(List<Tl1Element> vTl1ElementList)
vTl1ElementList - the Vector to copy.public void setTl1ElementCollection(List<Tl1Element> tl1ElementList)
tl1ElementList - the Vector to set.
public static Tl1dConfiguration 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 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 | ||||||||