|
JASMI API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IObject
IObject represents the common super class of all SMI objects.
| Field Summary | |
|---|---|
static int |
AGENT_CAPABILITIES
|
static int |
MODULE_COMPLIANCE
|
static int |
MODULE_IDENTITY
|
static int |
NOTIFICATION_GROUP
|
static int |
NOTIFICATION_TYPE
|
static int |
OBJECT_GROUP
|
static int |
OBJECT_IDENTITY
|
static int |
OBJECT_NAME
|
static int |
OBJECT_TYPE
|
static int |
TEXTUAL_CONVENTION
|
static int |
TRAP_TYPE
|
| Method Summary | |
|---|---|
java.lang.String |
getComment()
Get the ASN.1 comment associated with the object. |
IObject |
getDeepClone()
Get a deep copy clone of this MIB object. |
java.lang.String |
getDescription()
Get the contents of the descritpion clause of the object. |
java.lang.Integer |
getModuleID()
Get the module ID of the object. |
java.lang.String |
getName()
Get the name of the SMI object. |
IObjectID |
getObjectID()
Get the object ID of the object, if present. |
java.lang.String |
getPrintableOid()
Return the objects ID as dotted string. |
java.lang.String |
getReference()
Get the contents of the reference clause of the object. |
java.lang.String |
getStatus()
Returns the status of the object. |
int |
getType()
Get the type of the object. |
java.lang.String |
getTypeString()
Returns the type of object as a String (e.g., "OBJECT-TYPE", "NOTIFICATION-TYPE", etc.) |
boolean |
hasComment()
Check whether the object has got an associated ASN.1 comment. |
boolean |
hasDescription()
Check whether the object has a description clause. |
boolean |
hasReference()
Check whether the object has a reference clause. |
boolean |
hasStatus()
Check whether the object has got a status clause. |
boolean |
isStructural()
Returns whether this object definition is structural or whether it defines an object implementation. |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Field Detail |
|---|
static final int OBJECT_IDENTITY
static final int OBJECT_TYPE
static final int TRAP_TYPE
static final int NOTIFICATION_TYPE
static final int TEXTUAL_CONVENTION
static final int MODULE_IDENTITY
static final int OBJECT_GROUP
static final int NOTIFICATION_GROUP
static final int MODULE_COMPLIANCE
static final int AGENT_CAPABILITIES
static final int OBJECT_NAME
| Method Detail |
|---|
java.lang.String getTypeString()
java.lang.String getStatus()
boolean hasStatus()
java.lang.String getName()
java.lang.String getComment()
boolean hasComment()
boolean hasDescription()
java.lang.String getDescription()
boolean hasReference()
java.lang.String getReference()
IObjectID getObjectID()
java.lang.String getPrintableOid()
IObject getDeepClone()
java.lang.Integer getModuleID()
int getType()
boolean isStructural()
true if the object is a structual object definition, like
object names, module identities, or object groups.
|
JASMI API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||