public class NestedComponentDeclaration<T extends NestedComponentDeclaration> extends NestableElementDeclaration<T> implements WithAllowedStereotypesDeclaration<T>
NestedComponentModel
. It contains raw, unvalidated
data which is used to declare the structure of a NestedComponentModel
Modifier and Type | Method and Description |
---|---|
T |
addAllowedStereotype(StereotypeModel stereotype) |
Set<StereotypeModel> |
getAllowedStereotypes() |
isRequired, setRequired
getName
addModelProperty, getDescription, getDisplayModel, getModelProperties, getModelProperty, setDescription, setDisplayModel
public Set<StereotypeModel> getAllowedStereotypes()
getAllowedStereotypes
in interface WithAllowedStereotypesDeclaration<T extends NestedComponentDeclaration>
Set
with the StereotypeModel
s that can be assigned to this nested element.public T addAllowedStereotype(StereotypeModel stereotype)
addAllowedStereotype
in interface WithAllowedStereotypesDeclaration<T extends NestedComponentDeclaration>
stereotype
- an StereotypeModel
that is allowed to exist as part of this
componentCopyright © 2018. All rights reserved.