T
- Value typepublic interface ValueBuilder<T>
Modifier and Type | Method and Description |
---|---|
T |
newInstance()
Create a new Composite instance.
|
Class<T> |
primaryType()
Returns the primaryType that this builder is configured to build.
|
T |
prototype()
Get a representation of the state for the new Value.
|
<K> K |
prototypeFor(Class<K> mixinType)
Get a representation of the state of the given type for the new ValueComposite.
|
AssociationStateHolder |
state() |
AssociationStateHolder state()
T prototype()
<K> K prototypeFor(Class<K> mixinType)
K
- Mixin typemixinType
- the mixin which you want to provide state forT newInstance() throws ConstructionException
ConstructionException
- thrown if it was not possible to instantiate the Composite