com.buglabs.module
Class ModuleProperty

java.lang.Object
  extended by 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)
           
 
Method Summary
 boolean equals(java.lang.Object arg0)
           
 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, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
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)

equals

public boolean equals(java.lang.Object arg0)
Overrides:
equals in class java.lang.Object