A generic dyanmic property for any type.
Constructor and description |
---|
GenericDynamicProperty
(java.lang.String propertyName, java.lang.Class<?> type, java.lang.Object initialValue, boolean readOnly) @param propertyName The name of the property |
GenericDynamicProperty
(java.lang.String propertyName, java.lang.Class<?> type, boolean readOnly) @param propertyName The name of the property |
GenericDynamicProperty
(java.lang.String propertyName, java.lang.Class<?> type, FunctionCallback initialValueGenerator, boolean readOnly) |
Methods inherited from class | Name |
---|---|
class AbstractDynamicProperty |
get, getPropertyName, isPropertyMatch, set |
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
propertyName
- The name of the propertytype
- The type of the propertyinitialValue
- The initial value of the propertyreadOnly
- True for read-only property
propertyName
- The name of the propertytype
- The type of the propertyreadOnly
- True for read-only property
Variant that allows supply of a lazy-initialization function for the initial value.
This function is called only on the first access to the property for a given object, unless the function returns null in which case it will be called again if another request is made.
propertyName
- The name of the propertytype
- The type of the propertyreadOnly
- True for read-only property