com.buglabs.module
Class MutableModuleProperty

java.lang.Object
  extended by com.buglabs.module.MutableModuleProperty
All Implemented Interfaces:
IModuleProperty

public class MutableModuleProperty
extends java.lang.Object
implements IModuleProperty

Defines a property that can be changed by a client.


Constructor Summary
MutableModuleProperty(java.lang.String name, java.lang.Object value)
           
MutableModuleProperty(java.lang.String name, java.lang.Object value, java.lang.String type, boolean mutable)
           
 
Method Summary
 java.lang.String getName()
           
 java.lang.String getType()
           
 java.lang.Object getValue()
           
 boolean isMutable()
           
 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

MutableModuleProperty

public MutableModuleProperty(java.lang.String name,
                             java.lang.Object value)

MutableModuleProperty

public MutableModuleProperty(java.lang.String name,
                             java.lang.Object value,
                             java.lang.String type,
                             boolean mutable)
Method Detail

isMutable

public boolean isMutable()
Specified by:
isMutable in interface IModuleProperty
Returns:
true if this property in the module can be changed.

getName

public java.lang.String getName()
Specified by:
getName in interface IModuleProperty
Returns:
Name of property

getType

public java.lang.String getType()
Specified by:
getType in interface IModuleProperty
Returns:
Type as a String (java named types are used)

getValue

public java.lang.Object getValue()
Specified by:
getValue in interface IModuleProperty
Returns:
Value of property. Refer to getType() for type information.

setValue

public void setValue(java.lang.Object value)