public class MibObjs extends Object implements Serializable
Constructor and Description |
---|
MibObjs() |
Modifier and Type | Method and Description |
---|---|
void |
addMibObj(int index,
MibObj vMibObj) |
void |
addMibObj(MibObj vMibObj) |
Enumeration<MibObj> |
enumerateMibObj()
Method enumerateMibObj.
|
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method.
|
MibObj[] |
getMibObj()
Method getMibObj.Returns the contents of the collection in
an Array.
|
MibObj |
getMibObj(int index)
Method getMibObj.
|
List<MibObj> |
getMibObjCollection()
Method getMibObjCollection.Returns a reference to
'_mibObjList'.
|
int |
getMibObjCount()
Method getMibObjCount.
|
int |
hashCode()
Overrides the java.lang.Object.hashCode method.
|
boolean |
isValid()
Method isValid.
|
Iterator<MibObj> |
iterateMibObj()
Method iterateMibObj.
|
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
void |
removeAllMibObj() |
boolean |
removeMibObj(MibObj vMibObj)
Method removeMibObj.
|
MibObj |
removeMibObjAt(int index)
Method removeMibObjAt.
|
void |
setMibObj(int index,
MibObj vMibObj) |
void |
setMibObj(List<MibObj> vMibObjList)
Sets the value of '_mibObjList' by copying the given Vector.
|
void |
setMibObj(MibObj[] vMibObjArray) |
void |
setMibObjCollection(List<MibObj> mibObjList)
Deprecated.
|
static MibObjs |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
public void addMibObj(MibObj vMibObj) throws IndexOutOfBoundsException
vMibObj
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addMibObj(int index, MibObj vMibObj) throws IndexOutOfBoundsException
index
- vMibObj
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Enumeration<MibObj> enumerateMibObj()
public boolean equals(Object obj)
public MibObj getMibObj(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic MibObj[] getMibObj()
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<MibObj> getMibObjCollection()
public int getMibObjCount()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
public boolean isValid()
public Iterator<MibObj> iterateMibObj()
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 removeAllMibObj()
public boolean removeMibObj(MibObj vMibObj)
vMibObj
- public MibObj removeMibObjAt(int index)
index
- public void setMibObj(int index, MibObj vMibObj) throws IndexOutOfBoundsException
index
- vMibObj
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setMibObj(MibObj[] vMibObjArray)
vMibObjArray
- public void setMibObj(List<MibObj> vMibObjList)
vMibObjList
- the Vector to copy.public void setMibObjCollection(List<MibObj> mibObjList)
mibObjList
- the Vector to set.public static MibObjs 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.