|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.datacollection.Group
public class Group
a MIB object group
| Constructor Summary | |
|---|---|
Group()
|
|
| Method Summary | |
|---|---|
void |
addIncludeGroup(int index,
String vIncludeGroup)
|
void |
addIncludeGroup(String vIncludeGroup)
|
void |
addMibObj(int index,
MibObj vMibObj)
|
void |
addMibObj(MibObj vMibObj)
|
Enumeration<String> |
enumerateIncludeGroup()
Method enumerateIncludeGroup. |
Enumeration<MibObj> |
enumerateMibObj()
Method enumerateMibObj. |
String |
getIfType()
Returns the value of field 'ifType'. |
String[] |
getIncludeGroup()
Method getIncludeGroup.Returns the contents of the collection in an Array. |
String |
getIncludeGroup(int index)
Method getIncludeGroup. |
List<String> |
getIncludeGroupCollection()
Method getIncludeGroupCollection.Returns a reference to '_includeGroupList'. |
int |
getIncludeGroupCount()
Method getIncludeGroupCount. |
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. |
String |
getName()
Returns the value of field 'name'. |
boolean |
isValid()
Method isValid. |
Iterator<String> |
iterateIncludeGroup()
Method iterateIncludeGroup. |
Iterator<MibObj> |
iterateMibObj()
Method iterateMibObj. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
removeAllIncludeGroup()
|
void |
removeAllMibObj()
|
boolean |
removeIncludeGroup(String vIncludeGroup)
Method removeIncludeGroup. |
String |
removeIncludeGroupAt(int index)
Method removeIncludeGroupAt. |
boolean |
removeMibObj(MibObj vMibObj)
Method removeMibObj. |
MibObj |
removeMibObjAt(int index)
Method removeMibObjAt. |
void |
setIfType(String ifType)
Sets the value of field 'ifType'. |
void |
setIncludeGroup(int index,
String vIncludeGroup)
|
void |
setIncludeGroup(List<String> vIncludeGroupList)
Sets the value of '_includeGroupList' by copying the given Vector. |
void |
setIncludeGroup(String[] vIncludeGroupArray)
|
void |
setIncludeGroupCollection(List<String> includeGroupList)
Deprecated. |
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. |
void |
setName(String name)
Sets the value of field 'name'. |
static Group |
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 Group()
| Method Detail |
|---|
public void addIncludeGroup(String vIncludeGroup)
throws IndexOutOfBoundsException
vIncludeGroup -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addIncludeGroup(int index,
String vIncludeGroup)
throws IndexOutOfBoundsException
index - vIncludeGroup -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addMibObj(MibObj vMibObj)
throws IndexOutOfBoundsException
vMibObj -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addMibObj(int index,
MibObj vMibObj)
throws IndexOutOfBoundsException
index - vMibObj -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Enumeration<String> enumerateIncludeGroup()
public Enumeration<MibObj> enumerateMibObj()
public String getIfType()
public String getIncludeGroup(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic String[] getIncludeGroup()
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<String> getIncludeGroupCollection()
public int getIncludeGroupCount()
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 String getName()
public boolean isValid()
public Iterator<String> iterateIncludeGroup()
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 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 removeAllIncludeGroup()
public void removeAllMibObj()
public boolean removeIncludeGroup(String vIncludeGroup)
vIncludeGroup -
public String removeIncludeGroupAt(int index)
index -
public boolean removeMibObj(MibObj vMibObj)
vMibObj -
public MibObj removeMibObjAt(int index)
index -
public void setIfType(String ifType)
ifType - the value of field 'ifType'.
public void setIncludeGroup(int index,
String vIncludeGroup)
throws IndexOutOfBoundsException
index - vIncludeGroup -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setIncludeGroup(String[] vIncludeGroupArray)
vIncludeGroupArray - public void setIncludeGroup(List<String> vIncludeGroupList)
vIncludeGroupList - the Vector to copy.public void setIncludeGroupCollection(List<String> includeGroupList)
includeGroupList - the Vector to set.
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 void setName(String name)
name - the value of field 'name'.
public static Group 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 | ||||||||