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)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(NestableElementModelVisitor visitor) |
boolean |
equals(Object obj) |
List<? extends NestableElementModel> |
getChildComponents() |
String |
getDescription() |
DisplayModel |
getDisplayModel() |
Optional<Integer> |
getMaxOccurs() |
int |
getMinOccurs() |
String |
getName() |
List<? extends NestableElementModel> |
getNestedComponents() |
List<ParameterGroupModel> |
getParameterGroupModels() |
int |
hashCode() |
boolean |
isRequired() |
String |
toString() |
public NestedRouteModel()
public NestedRouteModel(String name, String description, DisplayModel displayModel, int minOccurs, Integer maxOccurs, List<ParameterGroupModel> parameterGroupModels, List<? extends NestableElementModel> childComponents)
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 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 void accept(NestableElementModelVisitor visitor)
accept in interface NestableElementModelCopyright © 2018 MuleSoft, Inc.. All rights reserved.