public class Tl1dConfiguration extends Object implements Serializable
Constructor and Description |
---|
Tl1dConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
addTl1Element(int index,
Tl1Element vTl1Element) |
void |
addTl1Element(Tl1Element vTl1Element) |
Enumeration<Tl1Element> |
enumerateTl1Element()
Method enumerateTl1Element.
|
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method.
|
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.
|
int |
hashCode()
Overrides the java.lang.Object.hashCode method.
|
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() |
public void addTl1Element(Tl1Element vTl1Element) throws IndexOutOfBoundsException
vTl1Element
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic 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 boolean equals(Object obj)
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 int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
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 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 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 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 © 2017. All rights reserved.