public class NestedRouteDeclaration extends NestableElementDeclaration<NestedRouteDeclaration> implements WithParametersDeclaration, WithNestedComponentsDeclaration<NestedRouteDeclaration>
NestedRouteModel. It contains raw, unvalidated
data which is used to declare the structure of a NestedRouteModel| Modifier and Type | Method and Description |
|---|---|
NestedRouteDeclaration |
addNestedComponent(NestableElementDeclaration nestedComponentDeclaration)
Adds a
NestableElementDeclaration |
List<ParameterDeclaration> |
getAllParameters()
Returns all the parameter declarations declared on all groups.
|
Integer |
getMaxOccurs() |
int |
getMinOccurs() |
List<NestableElementDeclaration> |
getNestedComponents() |
ParameterGroupDeclaration |
getParameterGroup(String groupName) |
List<ParameterGroupDeclaration> |
getParameterGroups() |
boolean |
isRequired() |
void |
setMaxOccurs(Integer maxOccurs) |
void |
setMinOccurs(int minOccurs) |
void |
setRequired(boolean required) |
getNameaddModelProperty, getDescription, getDisplayModel, getModelProperties, getModelProperty, setDescription, setDisplayModelpublic int getMinOccurs()
public void setMinOccurs(int minOccurs)
public Integer getMaxOccurs()
public void setMaxOccurs(Integer maxOccurs)
public void setRequired(boolean required)
setRequired in class NestableElementDeclaration<NestedRouteDeclaration>public boolean isRequired()
isRequired in class NestableElementDeclaration<NestedRouteDeclaration>public List<ParameterGroupDeclaration> getParameterGroups()
getParameterGroups in interface WithParametersDeclarationList with the declarationspublic ParameterGroupDeclaration getParameterGroup(String groupName)
getParameterGroup in interface WithParametersDeclarationgroupName - the name of the group which declaration you seekParameterGroupDeclaration of the given groupName.public List<ParameterDeclaration> getAllParameters()
WithParametersDeclarationgetAllParameters in interface WithParametersDeclarationpublic List<NestableElementDeclaration> getNestedComponents()
getNestedComponents in interface WithNestedComponentsDeclaration<NestedRouteDeclaration>List with the NestableElementDeclarations which have been
added to this declarationpublic NestedRouteDeclaration addNestedComponent(NestableElementDeclaration nestedComponentDeclaration)
WithNestedComponentsDeclarationNestableElementDeclarationaddNestedComponent in interface WithNestedComponentsDeclaration<NestedRouteDeclaration>nestedComponentDeclaration - the component declarationthis declarationCopyright © 2017 MuleSoft, Inc.. All rights reserved.