public class NestedRouteModel extends Object implements NestableElementModel
NestableElementModel that is itself a ComposableModel and ParameterizedModel. A route can be declared as a repeatable element, so multiple declarations of this route are
associated to the same model definition.| Constructor and Description |
|---|
NestedRouteModel() |
NestedRouteModel(String name,
String description,
DisplayModel displayModel,
int minOccurs,
Integer maxOccurs,
List<ParameterGroupModel> parameterGroupModels,
List<? extends NestableElementModel> childComponents)
Deprecated.
use
NestedRouteModel#NestedRouteModel(String, String, DisplayModel, int, Integer, List, List, DeprecationModel, Set, StereotypeModel) |
NestedRouteModel(String name,
String description,
DisplayModel displayModel,
int minOccurs,
Integer maxOccurs,
List<ParameterGroupModel> parameterGroupModels,
List<? extends NestableElementModel> childComponents,
DeprecationModel deprecationModel,
Set<ErrorModel> errorModels,
StereotypeModel stereotypeModel,
Set<String> semanticTerms)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(NestableElementModelVisitor visitor) |
boolean |
equals(Object obj) |
List<? extends NestableElementModel> |
getChildComponents() |
Feature<DeprecationModel> |
getDeprecationModel() |
String |
getDescription() |
DisplayModel |
getDisplayModel() |
Feature<Set<ErrorModel>> |
getErrorModels() |
Optional<Integer> |
getMaxOccurs() |
int |
getMinOccurs() |
String |
getName() |
List<? extends NestableElementModel> |
getNestedComponents() |
List<ParameterGroupModel> |
getParameterGroupModels() |
Set<String> |
getSemanticTerms()
Returns the semantic terms contained in this model.
|
Feature<StereotypeModel> |
getStereotype() |
int |
hashCode() |
boolean |
isRequired() |
String |
toString() |
public NestedRouteModel()
@Deprecated public NestedRouteModel(String name, String description, DisplayModel displayModel, int minOccurs, Integer maxOccurs, List<ParameterGroupModel> parameterGroupModels, List<? extends NestableElementModel> childComponents)
NestedRouteModel#NestedRouteModel(String, String, DisplayModel, int, Integer, List, List, DeprecationModel, Set, StereotypeModel)name - the model's namedescription - the model's descriptionparameterGroupModels - a List with the component's parameter group modelsdisplayModel - a model which contains directive about how this component is displayed in the UIminOccurs - the minimum number of instances required for this kind of routemaxOccurs - the maximum number of instances allowed for this kind of route @throws IllegalArgumentException
if name is blankpublic NestedRouteModel(String name, String description, DisplayModel displayModel, int minOccurs, Integer maxOccurs, List<ParameterGroupModel> parameterGroupModels, List<? extends NestableElementModel> childComponents, DeprecationModel deprecationModel, Set<ErrorModel> errorModels, StereotypeModel stereotypeModel, Set<String> semanticTerms)
name - the model's namedescription - the model's descriptionparameterGroupModels - a List with the component's parameter group modelsdisplayModel - a model which contains directive about how this component is displayed in the UIminOccurs - the minimum number of instances required for this kind of routemaxOccurs - the maximum number of instances allowed for this kind of route @throws IllegalArgumentException
if name is blankdeprecationModel - a DeprecationModel describing if the component is deprecated. A null value means it is
not deprecated.errorModels - a Set of errors this component could throwstereotypeModel - the stereotype of this componentpublic boolean isRequired()
public int getMinOccurs()
public List<? extends NestableElementModel> getNestedComponents()
public String getName()
public String getDescription()
public DisplayModel getDisplayModel()
public List<ParameterGroupModel> getParameterGroupModels()
public List<? extends NestableElementModel> getChildComponents()
public Feature<DeprecationModel> getDeprecationModel()
public Feature<Set<ErrorModel>> getErrorModels()
public Feature<StereotypeModel> getStereotype()
public Set<String> getSemanticTerms()
HasSemanticTermsFeature but instead, implementations should handle the cases where coming from an older
version by returning an Collections.emptySet()getSemanticTerms in interface HasSemanticTermspublic void accept(NestableElementModelVisitor visitor)
accept in interface NestableElementModelCopyright © 2022 MuleSoft, Inc.. All rights reserved.