public class MibObject extends Object implements Collectable
Modifier and Type | Field and Description |
---|---|
static String |
INSTANCE_IFADDRESS
Deprecated.
Indicates that the interface's IP address is to be appended to the
object's oid.
|
static String |
INSTANCE_IFINDEX
Deprecated.
Indicates that the interface's 'ifIndex' value from the 'ipInterface'
table of the database should be appended to the object's oid.
|
Constructor and Description |
---|
MibObject()
Deprecated.
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object)
Deprecated.
This method is responsible for comparing this MibObject with the passed
Object to determine if they are equivalent.
|
String |
getAlias()
Deprecated.
Returns the object's alias.
|
CollectionTracker |
getCollectionTracker()
Deprecated.
getCollectionTracker
|
CollectionTracker |
getCollectionTracker(SnmpInstId... instances)
Deprecated.
getCollectionTracker
|
static CollectionTracker[] |
getCollectionTrackers(List<MibObject> objList)
Deprecated.
getCollectionTrackers
|
static CollectionTracker[] |
getCollectionTrackers(List<MibObject> objList,
SnmpInstId... instances)
Deprecated.
getCollectionTrackers
|
String |
getGroupIfType()
Deprecated.
getGroupIfType
|
String |
getGroupName()
Deprecated.
getGroupName
|
String |
getInstance()
Deprecated.
Returns the instance string associated with the object.
|
String |
getMaxval()
Deprecated.
Returns the object's maximum value.
|
String |
getMinval()
Deprecated.
Returns the object's minimum value.
|
String |
getOid()
Deprecated.
Returns the object's identifier.
|
ResourceType |
getResourceType()
Deprecated.
getResourceType
|
SnmpObjId |
getSnmpObjId()
Deprecated.
getSnmpObjId
|
String |
getType()
Deprecated.
Returns the object's data type.
|
int |
hashCode()
Deprecated.
hashCode
|
void |
setAlias(String alias)
Deprecated.
This method is used to assign the object's alias.
|
void |
setGroupIfType(String groupIfType)
Deprecated.
setGroupIfType
|
void |
setGroupName(String groupName)
Deprecated.
setGroupName
|
void |
setInstance(String instance)
Deprecated.
This method is used to specify the object's instance to be retrieved.
|
void |
setMaxval(String maxval)
Deprecated.
This method is used to assign the object's maximum value.
|
void |
setMinval(String minval)
Deprecated.
This method is used to assign the object's minimum value.
|
void |
setOid(String oid)
Deprecated.
This method is used to assign the object's identifier.
|
void |
setResourceType(ResourceType resourceType)
Deprecated.
setResourceType
|
void |
setType(String type)
Deprecated.
This method is used to assign the object's expected data type.
|
String |
toString()
Deprecated.
This method is responsible for returning a String object which represents
the content of this MibObject.
|
public static final String INSTANCE_IFINDEX
public static final String INSTANCE_IFADDRESS
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_IFADDRESS
public 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 boolean equals(Object object)
public int hashCode()
hashCode
public String toString()
public CollectionTracker getCollectionTracker()
getCollectionTracker
getCollectionTracker
in interface Collectable
CollectionTracker
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 void setGroupIfType(String groupIfType)
setGroupIfType
groupIfType
- a String
object.public void setResourceType(ResourceType resourceType)
setResourceType
resourceType
- a ResourceType
object.public ResourceType getResourceType()
getResourceType
ResourceType
object.Copyright © 2021. All rights reserved.