|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.anasoft.os.daofusion.bitemporal.WrappedValueAccessor<V,T>
V - Value wrapped by the Bitemporal object.T - BitemporalWrapper implementation that wraps the given value type.public abstract class WrappedValueAccessor<V,T extends BitemporalWrapper<V>>
ValueAccessor adapter for use with BitemporalWrapper.
ValueAccessor,
BitemporalWrapper,
Serialized Form| Constructor Summary | |
|---|---|
WrappedValueAccessor()
|
|
| Method Summary | ||
|---|---|---|
static
|
create(java.lang.Class<T> clazz)
Creates an instance of WrappedValueAccessor for the given
BitemporalWrapper type. |
|
V |
extractValue(T bitemporalObject)
Extract the value from the given Bitemporal object. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.anasoft.os.daofusion.bitemporal.ValueAccessor |
|---|
wrapValue |
| Constructor Detail |
|---|
public WrappedValueAccessor()
| Method Detail |
|---|
public V extractValue(T bitemporalObject)
ValueAccessorBitemporal object.
extractValue in interface ValueAccessor<V,T extends BitemporalWrapper<V>>ValueAccessor.extractValue(com.anasoft.os.daofusion.bitemporal.Bitemporal)public static <V,T extends BitemporalWrapper<V>> WrappedValueAccessor<V,T> create(java.lang.Class<T> clazz)
WrappedValueAccessor for the given
BitemporalWrapper type.
Resulting instance implements the wrapValue method using the following algorithm:
BitemporalWrapper class (the constructor doesn't
need to be public)
BitemporalWrapper instance
BitemporalWrapper instance as the result
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||