com.klg.jclass.util.value
Class MutableValueModel
java.lang.Object
|
+--com.klg.jclass.util.value.AbstractValueModel
|
+--com.klg.jclass.util.value.MutableValueModel
- All Implemented Interfaces:
- JCValueModel, Serializable
- public class MutableValueModel
- extends AbstractValueModel
Generic Value model that is configurable to any class
- See Also:
- Serialized Form
Field Summary |
protected Class |
c
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
c
protected Class c
MutableValueModel
public MutableValueModel()
- Empty constructor. Must be followed immediately by a call to
setValueClass()
- See Also:
setValueClass(java.lang.Class)
MutableValueModel
public MutableValueModel(Class c,
Object value)
getValueClass
public Class getValueClass()
- Returns the type of the core value, by default an Object.
- Specified by:
getValueClass
in interface JCValueModel
- Specified by:
getValueClass
in class AbstractValueModel
- Returns:
- The class of the value for this value model
setValueClass
public void setValueClass(Class c)
- Sets the type of the core value