com.klg.jclass.util.value
Class ObjectValueModel
java.lang.Object
|
+--com.klg.jclass.util.value.AbstractValueModel
|
+--com.klg.jclass.util.value.ObjectValueModel
- All Implemented Interfaces:
- JCValueModel, Serializable
- public class ObjectValueModel
- extends AbstractValueModel
Value model for Objects.
- See Also:
- Serialized Form
Constructor Summary |
ObjectValueModel()
Constructs a value model for Objects with null initial value. |
ObjectValueModel(Object value)
Constructs a value model for Objects with the given initial value. |
Method Summary |
Class |
getValueClass()
Returns the type of the core value, in this case any Object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectValueModel
public ObjectValueModel()
- Constructs a value model for Objects with null initial value.
ObjectValueModel
public ObjectValueModel(Object value)
- Constructs a value model for Objects with the given initial value.
getValueClass
public Class getValueClass()
- Returns the type of the core value, in this case any Object.
- Specified by:
getValueClass
in interface JCValueModel
- Specified by:
getValueClass
in class AbstractValueModel
- Returns:
- The class of the value for this value model