public class ImmutableConstructModel extends AbstractComponentModel implements ConstructModel
OperationModel
description, modelProperties
Constructor and Description |
---|
ImmutableConstructModel(String name,
String description,
List<ParameterGroupModel> parameterGroupModels,
List<? extends NestableElementModel> nestedComponents,
boolean allowsTopLevelDefinition,
DisplayModel displayModel,
Set<ErrorModel> errors,
StereotypeModel stereotype,
Set<ModelProperty> modelProperties)
Creates a new instance with the given state
|
Modifier and Type | Method and Description |
---|---|
boolean |
allowsTopLevelDeclaration() |
getErrorModels, 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
getNestedComponents
getName
getStereotype
getModelProperties, getModelProperty
getDisplayModel
getErrorModels
public ImmutableConstructModel(String name, String description, List<ParameterGroupModel> parameterGroupModels, List<? extends NestableElementModel> nestedComponents, boolean allowsTopLevelDefinition, DisplayModel displayModel, Set<ErrorModel> errors, StereotypeModel stereotype, Set<ModelProperty> modelProperties)
name
- the operation's name. Cannot be blankdescription
- the operation's descriptorparameterGroupModels
- a List
with the operation's parameter group models
nestedComponents
- a List
with the components contained by this modelallowsTopLevelDefinition
- whether or not this
model can be declared as a root component in the applicationdisplayModel
- a model which contains directive about how this operation is displayed in the UIstereotype
- the stereotype
of this componentmodelProperties
- A Set
of custom properties which extend this modelIllegalArgumentException
- if name
is blank or executorFactory
is null
public boolean allowsTopLevelDeclaration()
allowsTopLevelDeclaration
in interface ConstructModel
this
model can be declared as a root component in the application.Copyright © 2018. All rights reserved.