public class ImmutableNestedChainModel extends ImmutableNestedComponentModel implements NestedChainModel
NestedChainModel
description, modelProperties
Constructor and Description |
---|
ImmutableNestedChainModel(String name,
String description,
DisplayModel displayModel,
boolean isRequired,
Set<StereotypeModel> allowedStereotypes,
Set<ModelProperty> modelProperties)
Creates a new instance
|
Modifier and Type | Method and Description |
---|---|
void |
accept(NestableElementModelVisitor visitor)
Accepts a
NestableElementModelVisitor |
getAllowedStereotypes, isRequired
checkArgument, equals, getDisplayModel, getName, hashCode, toString
copy, copy, getDescription, getModelProperties, getModelProperty
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAllowedStereotypes
isRequired
getName
getModelProperties, getModelProperty
getDescription
getDisplayModel
public ImmutableNestedChainModel(String name, String description, DisplayModel displayModel, boolean isRequired, Set<StereotypeModel> allowedStereotypes, Set<ModelProperty> modelProperties)
name
- the model's namedescription
- the model's descriptionisRequired
- whether or not this component is requiredallowedStereotypes
- A Set
of custom properties which extend this modeldisplayModel
- a model containing directives about how this component is to be displayed in the UImodelProperties
- A Set
of custom properties which extend this modelIllegalArgumentException
- if name
is blankpublic void accept(NestableElementModelVisitor visitor)
NestedComponentModel
NestableElementModelVisitor
accept
in interface NestableElementModel
accept
in interface NestedComponentModel
accept
in class ImmutableNestedComponentModel
visitor
- a NestableElementModelVisitor
Copyright © 2018. All rights reserved.