public class Varbindsdecode extends Object implements Serializable
Constructor and Description |
---|
Varbindsdecode() |
Modifier and Type | Method and Description |
---|---|
void |
addDecode(Decode vDecode) |
void |
addDecode(int index,
Decode vDecode) |
Enumeration<Decode> |
enumerateDecode()
Method enumerateDecode.
|
boolean |
equals(Object obj)
Overrides the Object.equals method.
|
Decode[] |
getDecode()
Method getDecode.Returns the contents of the collection in
an Array.
|
Decode |
getDecode(int index)
Method getDecode.
|
List<Decode> |
getDecodeCollection()
Method getDecodeCollection.Returns a reference to
'_decodeList'.
|
int |
getDecodeCount()
Method getDecodeCount.
|
String |
getParmid()
Returns the value of field 'parmid'.
|
int |
hashCode()
Overrides the Object.hashCode method.
|
boolean |
isValid()
Method isValid.
|
Iterator<Decode> |
iterateDecode()
Method iterateDecode.
|
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
void |
removeAllDecode() |
boolean |
removeDecode(Decode vDecode)
Method removeDecode.
|
Decode |
removeDecodeAt(int index)
Method removeDecodeAt.
|
void |
setDecode(Decode[] vDecodeArray) |
void |
setDecode(int index,
Decode vDecode) |
void |
setDecode(List<Decode> vDecodeList)
Sets the value of '_decodeList' by copying the given Vector.
|
void |
setDecodeCollection(List<Decode> decodeList)
Deprecated.
|
void |
setParmid(String parmid)
Sets the value of field 'parmid'.
|
static Varbindsdecode |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
public void addDecode(Decode vDecode) throws IndexOutOfBoundsException
vDecode
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addDecode(int index, Decode vDecode) throws IndexOutOfBoundsException
index
- vDecode
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Enumeration<Decode> enumerateDecode()
public boolean equals(Object obj)
public Decode getDecode(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Decode[] getDecode()
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<Decode> getDecodeCollection()
public int getDecodeCount()
public String getParmid()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
public boolean isValid()
public Iterator<Decode> iterateDecode()
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 removeAllDecode()
public boolean removeDecode(Decode vDecode)
vDecode
- public Decode removeDecodeAt(int index)
index
- public void setDecode(int index, Decode vDecode) throws IndexOutOfBoundsException
index
- vDecode
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setDecode(Decode[] vDecodeArray)
vDecodeArray
- public void setDecode(List<Decode> vDecodeList)
vDecodeList
- the Vector to copy.public void setDecodeCollection(List<Decode> decodeList)
decodeList
- the Vector to set.public void setParmid(String parmid)
parmid
- the value of field 'parmid'.public static Varbindsdecode 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.