public class Group extends Object implements Serializable
Constructor and Description |
---|
Group() |
Modifier and Type | Method and Description |
---|---|
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.
|
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method.
|
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'.
|
String |
getResourceType()
Returns the value of field 'resourceType'.
|
int |
hashCode()
Overrides the java.lang.Object.hashCode method.
|
Iterator<String> |
iterateIncludeGroup()
Method iterateIncludeGroup.
|
Iterator<MibObj> |
iterateMibObj()
Method iterateMibObj.
|
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 |
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'.
|
void |
setResourceType(String resourceType)
Sets the value of field 'resourceType'.
|
public void addIncludeGroup(String vIncludeGroup) throws IndexOutOfBoundsException
vIncludeGroup
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addIncludeGroup(int index, String vIncludeGroup) throws IndexOutOfBoundsException
index
- vIncludeGroup
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic 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<String> enumerateIncludeGroup()
public Enumeration<MibObj> enumerateMibObj()
public boolean equals(Object obj)
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 String getResourceType()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
public Iterator<String> iterateIncludeGroup()
public Iterator<MibObj> iterateMibObj()
public 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 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 void setResourceType(String resourceType)
resourceType
- the value of field 'resourceType'.Copyright © 2021. All rights reserved.