|
MySnmpCrawler API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--snmp.mbean.MBeanAttribute
The class collects all of the information about the MBean attribute.
Field Summary | |
private java.lang.String |
name
|
private boolean |
readable
|
private java.lang.String |
type
|
private java.lang.Object |
value
|
private boolean |
writable
|
Constructor Summary | |
MBeanAttribute()
The default constructor. |
|
MBeanAttribute(java.lang.String name)
Constructs the MBeanAttribute object with the attribute name. |
|
MBeanAttribute(java.lang.String name,
java.lang.Object value)
Constructs the MBeanAttribute object with the attribute name and value. |
|
MBeanAttribute(java.lang.String name,
java.lang.Object value,
java.lang.String type,
boolean readable,
boolean writable)
Constructs the MBeanAttribute object with the attribute name, value, datatype, readable, and writable flag. |
Method Summary | |
java.lang.String |
getName()
Gets the attribute name. |
java.lang.String |
getType()
Gets the attribute type. |
java.lang.Object |
getValue()
Gets the attribute value. |
boolean |
isReadable()
Checks the readable flag. |
boolean |
isWritable()
Checks the writable flag. |
void |
setName(java.lang.String name)
Sets the attribute name. |
void |
setType(java.lang.String type)
Sets the attribute type. |
void |
setValue(java.lang.Object value)
Sets the attribute value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.lang.String name
private java.lang.Object value
private java.lang.String type
private boolean readable
private boolean writable
Constructor Detail |
public MBeanAttribute()
public MBeanAttribute(java.lang.String name)
name
- The attribute name.public MBeanAttribute(java.lang.String name, java.lang.Object value)
name
- The attribute name.value
- The attribute value.public MBeanAttribute(java.lang.String name, java.lang.Object value, java.lang.String type, boolean readable, boolean writable)
name
- The attribute name.value
- The attribute value.type
- The attribute datatype.readable
- The attribute readable flag.writable
- The attribute writable flag.Method Detail |
public java.lang.String getName()
public void setName(java.lang.String name)
name
- The attribute name.public java.lang.Object getValue()
public void setValue(java.lang.Object value)
value
- The attribute value.public java.lang.String getType()
public void setType(java.lang.String type)
type
- The attribute type.public boolean isReadable()
public boolean isWritable()
|
MySnmpCrawler API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |