|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
T - Value type, same as in ValueEngineerpublic interface InitialValueProviding<T>
Aspect for ValueEngineers providing an initial value.
To activate, the GOM object related to the engineer must define/override getPreset() and use InitialPreset as co-variant return type.
If the related GOM attribute "preset" is set to "created"-mode (InitialPreset.isCreated() == true),
InitialValueProviding.onCreation() gets called whenever the editor is created and no value is set.
Example:
Using the "created"-mode allows for realizing some unique value provisioning.
| Field Summary | |
|---|---|
static ValueEngineerAspectType<InitialValueProviding<?>> |
TYPE
Aspect for ValueEngineers providing an initial value. |
| Method Summary | |
|---|---|
T |
onCreation()
Callback to provide a value for creation stage use. |
| Field Detail |
|---|
static final ValueEngineerAspectType<InitialValueProviding<?>> TYPE
ValueEngineers providing an initial value.
| Method Detail |
|---|
@Nullable T onCreation()
preset="Created"
null).
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||