public final class ParameterGroupElementDeclaration extends EnrichableElementDeclaration implements ElementDeclarationContainer
ParameterizedModel configuration.declaringExtension, name| Constructor and Description |
|---|
ParameterGroupElementDeclaration() |
ParameterGroupElementDeclaration(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
addParameter(ParameterElementDeclaration parameter)
Adds a
parameter to this parametrized element declaration |
boolean |
equals(Object o) |
<T extends ElementDeclaration> |
findElement(List<String> parts)
Looks for a
ParameterElementDeclaration contained by this declaration
based on the parts of a Location. |
Optional<ParameterElementDeclaration> |
getParameter(String name) |
List<ParameterElementDeclaration> |
getParameters() |
int |
hashCode() |
void |
setDeclaringExtension(String declaringExtension)
Sets the
name of the extension containing the
model associated to this element declaration |
addCustomConfigurationParameter, addMetadataProperty, getCustomConfigurationParameters, getMetadataProperties, getMetadataPropertygetDeclaringExtension, getName, setNamepublic ParameterGroupElementDeclaration()
public ParameterGroupElementDeclaration(String name)
public List<ParameterElementDeclaration> getParameters()
List of parameters associated with
thispublic Optional<ParameterElementDeclaration> getParameter(String name)
parameters associated with the given name
or Optional.empty() otherwisepublic void addParameter(ParameterElementDeclaration parameter)
parameter to this parametrized element declarationparameter - the ParameterElementDeclaration to associate to this element declarationpublic <T extends ElementDeclaration> Optional<T> findElement(List<String> parts)
ParameterElementDeclaration contained by this declaration
based on the parts of a Location.findElement in interface ElementDeclarationContainerparts - the parts of a Location relative to this elementElementDeclaration located in the path created by the parts
or Optional.empty() if no ElementDeclaration was found in that location.public void setDeclaringExtension(String declaringExtension)
name of the extension containing the
model associated to this element declarationsetDeclaringExtension in interface IdentifiableElementDeclarationsetDeclaringExtension in class ElementDeclarationdeclaringExtension - the extension's namepublic boolean equals(Object o)
equals in class EnrichableElementDeclarationpublic int hashCode()
hashCode in class EnrichableElementDeclarationCopyright © 2017 MuleSoft, Inc.. All rights reserved.