public interface ModelReady extends ServiceReady
Model
instance.Modifier and Type | Method and Description |
---|---|
Wave |
attachUi(Class<? extends Model> modelClass,
WaveData<?>... data)
Send a wave used to display an UI model.
|
<M extends Model> |
getModel(Class<M> clazz,
Object... keyPart)
Return the model singleton or part of multiton according to key parts provided.
|
<M extends Model> |
getModel(UniqueKey<M> modelKey)
Return the model singleton or part of multiton according to
UniqueKey . |
<M extends Model> |
getModels(Class<M> clazz,
Object... keyPart)
Return the list of model singleton or part of multiton according to key parts provided.
|
<M extends Model> |
getModels(UniqueKey<M> modelKey)
Return the list of model singleton or part of multiton according to
UniqueKey . |
getService, getService, getServices, getServices, returnData
callCommand, callCommand, getCommand, getCommand, getCommands, getCommands
<M extends Model> M getModel(Class<M> clazz, Object... keyPart)
M
- a sub class of Modelclazz
- the model class to findkeyPart
- key parts for multiton model (in option), singleton<M extends Model> M getModel(UniqueKey<M> modelKey)
UniqueKey
.M
- a sub class of ModelmodelKey
- the key that describe the searched Model component<M extends Model> List<M> getModels(Class<M> clazz, Object... keyPart)
M
- a sub class of Modelclazz
- the model class to findkeyPart
- key parts for multiton model (in option), singleton<M extends Model> List<M> getModels(UniqueKey<M> modelKey)
UniqueKey
.M
- a sub class of ModelmodelKey
- the key that describe the searched Model componentWave attachUi(Class<? extends Model> modelClass, WaveData<?>... data)
modelClass
- the model class to displaydata
- the data to transportCopyright © 2011–2016 JRebirth OSS. All rights reserved.