public abstract class AbstractComponentModel extends AbstractStereotypedModel implements ComponentModel
ComponentModel
description, modelProperties
Modifier | Constructor and Description |
---|---|
protected |
AbstractComponentModel(String name,
String description,
List<ParameterGroupModel> parameterGroupModels,
List<? extends NestableElementModel> nestedComponents,
DisplayModel displayModel,
Set<ErrorModel> errors,
StereotypeModel stereotype,
Set<ModelProperty> modelProperties)
Creates a new instance
|
Modifier and Type | Method and Description |
---|---|
Set<ErrorModel> |
getErrorModels() |
List<? extends NestableElementModel> |
getNestedComponents() |
getStereotype
getParameterGroupModels
checkArgument, equals, getDisplayModel, getName, hashCode, toString
copy, copy, getDescription, getModelProperties, getModelProperty
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
accept
getAllParameterModels, getParameterGroupModels
getDescription
getName
getStereotype
getModelProperties, getModelProperty
getDisplayModel
protected AbstractComponentModel(String name, String description, List<ParameterGroupModel> parameterGroupModels, List<? extends NestableElementModel> nestedComponents, DisplayModel displayModel, Set<ErrorModel> errors, StereotypeModel stereotype, Set<ModelProperty> modelProperties)
name
- the model's namedescription
- the model's descriptionparameterGroupModels
- a List
with the source's parameter group models
nestedComponents
- a List
with the components contained by this modeldisplayModel
- a model which contains directive about how this component is displayed in the UIstereotype
- the stereotype
of this componentmodelProperties
- A Set
of custom properties which extend this modelIllegalArgumentException
- if name
is blankpublic Set<ErrorModel> getErrorModels()
getErrorModels
in interface ThrowsErrors
Set
of ErrorModel
with the possible errors that the current
component could throw.ErrorModel
public List<? extends NestableElementModel> getNestedComponents()
getNestedComponents
in interface ComposableModel
List
of components
contained by
this
modelCopyright © 2018. All rights reserved.