com.buglabs.module
Class ModuleProperty
java.lang.Object
com.buglabs.module.ModuleProperty
- All Implemented Interfaces:
- IModuleProperty
public class ModuleProperty
- extends java.lang.Object
- implements IModuleProperty
|
Constructor Summary |
ModuleProperty(java.lang.String name,
java.lang.Object value)
|
ModuleProperty(java.lang.String name,
java.lang.Object value,
java.lang.String type,
boolean mutable)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModuleProperty
public ModuleProperty(java.lang.String name,
java.lang.Object value)
ModuleProperty
public ModuleProperty(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)
equals
public boolean equals(java.lang.Object arg0)
- Overrides:
equals in class java.lang.Object