public class ComponentDeclaration<T extends ComponentDeclaration> extends StereotypedDeclaration<T> implements WithNestedComponentsDeclaration<T>, WithStereotypesDeclaration
ComponentModel
. It contains raw, unvalidated
data which is used to declare the structure of a ComponentModel
Modifier and Type | Method and Description |
---|---|
void |
addErrorModel(ErrorModel errorModel) |
T |
addNestedComponent(NestableElementDeclaration nestedComponentDeclaration)
Adds a
NestableElementDeclaration |
Set<ErrorModel> |
getErrorModels() |
List<NestableElementDeclaration> |
getNestedComponents() |
getStereotype, withStereotype
getAllParameters, getParameterGroup, getParameterGroups
getName
addModelProperty, getDescription, getDisplayModel, getModelProperties, getModelProperty, setDescription, setDisplayModel
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getStereotype, withStereotype
public List<NestableElementDeclaration> getNestedComponents()
getNestedComponents
in interface WithNestedComponentsDeclaration<T extends ComponentDeclaration>
List
with the NestableElementDeclaration
s which have been
added to this
declarationpublic T addNestedComponent(NestableElementDeclaration nestedComponentDeclaration)
WithNestedComponentsDeclaration
NestableElementDeclaration
addNestedComponent
in interface WithNestedComponentsDeclaration<T extends ComponentDeclaration>
nestedComponentDeclaration
- the component declarationthis
declarationpublic void addErrorModel(ErrorModel errorModel)
public Set<ErrorModel> getErrorModels()
Copyright © 2018. All rights reserved.