|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.config.MibObject
public class MibObject
This class is responsible for holding information about a particular MIB object parsed from the DataCollection.xml file.
| Field Summary | |
|---|---|
static String |
INSTANCE_IFADDRESS
Indicates that the interface's IP address is to be appended to the object's oid. |
static String |
INSTANCE_IFINDEX
Indicates that the interface's 'ifIndex' value from the 'ipInterface' table of the database should be appended to the object's oid. |
| Constructor Summary | |
|---|---|
MibObject()
Constructor |
|
| Method Summary | |
|---|---|
boolean |
equals(Object object)
This method is responsible for comparing this MibObject with the passed Object to determine if they are equivalent. |
String |
getAlias()
Returns the object's alias. |
CollectionTracker |
getCollectionTracker()
getCollectionTracker |
CollectionTracker |
getCollectionTracker(SnmpInstId... instances)
getCollectionTracker |
static CollectionTracker[] |
getCollectionTrackers(List<MibObject> objList)
getCollectionTrackers |
static CollectionTracker[] |
getCollectionTrackers(List<MibObject> objList,
SnmpInstId... instances)
getCollectionTrackers |
String |
getGroupIfType()
getGroupIfType |
String |
getGroupName()
getGroupName |
String |
getInstance()
Returns the instance string associated with the object. |
String |
getMaxval()
Returns the object's maximum value. |
String |
getMinval()
Returns the object's minimum value. |
String |
getOid()
Returns the object's identifier. |
ResourceType |
getResourceType()
getResourceType |
SnmpObjId |
getSnmpObjId()
getSnmpObjId |
String |
getType()
Returns the object's data type. |
int |
hashCode()
hashCode |
void |
setAlias(String alias)
This method is used to assign the object's alias. |
void |
setGroupIfType(String groupIfType)
setGroupIfType |
void |
setGroupName(String groupName)
setGroupName |
void |
setInstance(String instance)
This method is used to specify the object's instance to be retrieved. |
void |
setMaxval(String maxval)
This method is used to assign the object's maximum value. |
void |
setMinval(String minval)
This method is used to assign the object's minimum value. |
void |
setOid(String oid)
This method is used to assign the object's identifier. |
void |
setResourceType(ResourceType resourceType)
setResourceType |
void |
setType(String type)
This method is used to assign the object's expected data type. |
String |
toString()
This method is responsible for returning a String object which represents the content of this MibObject. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String INSTANCE_IFINDEX
public static final String INSTANCE_IFADDRESS
| Constructor Detail |
|---|
public MibObject()
| Method Detail |
|---|
public void setOid(String oid)
oid - -
object identifier in dotted decimal notation (e.g.,
".1.3.6.1.2.1.1.1")public void setAlias(String alias)
alias - -
object alias (e.g., "sysDescription")public void setType(String type)
type - -
object's data typepublic void setMaxval(String maxval)
maxval - object's maximum valuepublic void setMinval(String minval)
minval - object's minimum valuepublic void setInstance(String instance)
instance - a String object.INSTANCE_IFINDEX,
INSTANCE_IFADDRESS,
INSTANCE_IFINDEX,
INSTANCE_IFADDRESSpublic void setGroupName(String groupName)
setGroupName
groupName - a String object.public String getOid()
public String getMaxval()
public String getMinval()
public String getAlias()
public String getType()
public String getInstance()
public String getGroupName()
getGroupName
String object.public boolean equals(Object object)
equals in class Objectpublic int hashCode()
hashCode
hashCode in class Objectpublic String toString()
toString in class Objectpublic CollectionTracker getCollectionTracker()
getCollectionTracker
getCollectionTracker in interface CollectableCollectionTracker object.public CollectionTracker getCollectionTracker(SnmpInstId... instances)
getCollectionTracker
instances - a SnmpInstId object.
CollectionTracker object.public static CollectionTracker[] getCollectionTrackers(List<MibObject> objList)
getCollectionTrackers
objList - a List object.
CollectionTracker objects.
public static CollectionTracker[] getCollectionTrackers(List<MibObject> objList,
SnmpInstId... instances)
getCollectionTrackers
objList - a List object.instances - a SnmpInstId object.
CollectionTracker objects.public SnmpObjId getSnmpObjId()
getSnmpObjId
SnmpObjId object.public void setGroupIfType(String groupIfType)
setGroupIfType
groupIfType - a String object.public String getGroupIfType()
getGroupIfType
String object.public void setResourceType(ResourceType resourceType)
setResourceType
resourceType - a ResourceType object.public ResourceType getResourceType()
getResourceType
ResourceType object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||