public class BoaComponentModel<T extends BOA>
extends java.lang.Object
BoaWithSettingsRepItem
.Constructor and Description |
---|
BoaComponentModel(BoaType type)
Construct model with default settings for given type.
|
BoaComponentModel(BoaWithSettingsRepItem<T> existingItem)
Creates a model from given existing settings.
|
Modifier and Type | Method and Description |
---|---|
protected BoaRepository |
getBoaRepo()
Factory method, for testing.
|
SingleSelectionModel<BoaRepItem<T>> |
getComponentsListModel() |
BoaParametersModel |
getParameters() |
BoaWithSettingsRepItem<T> |
getValue() |
public BoaComponentModel(BoaWithSettingsRepItem<T> existingItem)
existingItem
- the existing settings. Type must match T.InstantiateException
- if problem with repopublic BoaComponentModel(BoaType type)
type
- the type, must match T.protected BoaRepository getBoaRepo()
public BoaWithSettingsRepItem<T> getValue()
BoaWithSettingsRepItem
as indicated by this settingspublic SingleSelectionModel<BoaRepItem<T>> getComponentsListModel()
public BoaParametersModel getParameters()
BoaParametersModel
.