org.shiftone.jrat.util.jmx.dynamic
Class SimpleAttributeValue

java.lang.Object
  extended by org.shiftone.jrat.util.jmx.dynamic.SimpleAttributeValue
All Implemented Interfaces:
AttributeValue

public class SimpleAttributeValue
extends java.lang.Object
implements AttributeValue

Author:
jeff@shiftone.org (Jeff Drost)

Constructor Summary
SimpleAttributeValue(java.lang.Object value)
           
SimpleAttributeValue(java.lang.Object value, java.lang.String description)
           
SimpleAttributeValue(java.lang.Object value, java.lang.String description, java.lang.Class type)
           
 
Method Summary
 java.lang.String getDescription()
           
 java.lang.String getType()
           
 java.lang.Object getValue()
           
 boolean isReadable()
           
 boolean isWritable()
           
 void setDescription(java.lang.String description)
           
 void setValue(java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleAttributeValue

public SimpleAttributeValue(java.lang.Object value)

SimpleAttributeValue

public SimpleAttributeValue(java.lang.Object value,
                            java.lang.String description)

SimpleAttributeValue

public SimpleAttributeValue(java.lang.Object value,
                            java.lang.String description,
                            java.lang.Class type)
Method Detail

setValue

public void setValue(java.lang.Object value)
Specified by:
setValue in interface AttributeValue

getValue

public java.lang.Object getValue()
Specified by:
getValue in interface AttributeValue

getType

public java.lang.String getType()
Specified by:
getType in interface AttributeValue

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface AttributeValue

setDescription

public void setDescription(java.lang.String description)

isReadable

public boolean isReadable()
Specified by:
isReadable in interface AttributeValue

isWritable

public boolean isWritable()
Specified by:
isWritable in interface AttributeValue