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.
|
<WB extends WaveBean> |
attachUi(Class<? extends Model> modelClass,
WB waveBean)
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, returnDatacallCommand, 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 component<WB extends WaveBean> Wave attachUi(Class<? extends Model> modelClass, WB waveBean)
WB - the type of the wave bean to usedmodelClass - the model class to displaywaveBean - the WaveBean that holds all required wave dataWave attachUi(Class<? extends Model> modelClass, WaveData<?>... data)
modelClass - the model class to displaydata - the data to transportCopyright © 2011–2018 JRebirth OSS. All rights reserved.