public class NestedComponentModel extends Object implements NestableElementModel
NestableElementModel that makes reference to a single ComponentModel| Constructor and Description |
|---|
NestedComponentModel() |
NestedComponentModel(String name,
String description,
DisplayModel displayModel,
boolean isRequired,
Set<StereotypeModel> allowedStereotypes)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(NestableElementModelVisitor visitor) |
boolean |
equals(Object obj) |
Set<StereotypeModel> |
getAllowedStereotypes() |
String |
getDescription() |
DisplayModel |
getDisplayModel() |
String |
getName() |
int |
hashCode() |
boolean |
isRequired() |
String |
toString() |
public NestedComponentModel()
public NestedComponentModel(String name, String description, DisplayModel displayModel, boolean isRequired, Set<StereotypeModel> allowedStereotypes)
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 UIIllegalArgumentException - if name is blankpublic Set<StereotypeModel> getAllowedStereotypes()
public boolean isRequired()
public String getName()
public String getDescription()
public DisplayModel getDisplayModel()
public void accept(NestableElementModelVisitor visitor)
accept in interface NestableElementModelCopyright © 2022 MuleSoft, Inc.. All rights reserved.