com.buglabs.module
Class MutableModuleProperty
java.lang.Object
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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)
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)