public abstract class ParameterizedElementDeclaration extends EnrichableElementDeclaration implements ElementDeclarationContainer
ParameterizedModel
configuration.declaringExtension, name
Constructor and Description |
---|
ParameterizedElementDeclaration() |
Modifier and Type | Method and Description |
---|---|
void |
addParameterGroup(ParameterGroupElementDeclaration group)
Adds a
group 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<ParameterGroupElementDeclaration> |
getParameterGroup(String name) |
List<ParameterGroupElementDeclaration> |
getParameterGroups() |
int |
hashCode() |
addCustomConfigurationParameter, addMetadataProperty, getCustomConfigurationParameters, getMetadataProperties, getMetadataProperty
getDeclaringExtension, getName, setDeclaringExtension, setName
public Optional<ParameterGroupElementDeclaration> getParameterGroup(String name)
group
with given name
or Optional.empty()
if none is found.public List<ParameterGroupElementDeclaration> getParameterGroups()
public void addParameterGroup(ParameterGroupElementDeclaration group)
group
to this
parametrized element declarationgroup
- the ParameterGroupElementDeclaration
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 ElementDeclarationContainer
parts
- 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 boolean equals(Object o)
equals
in class EnrichableElementDeclaration
public int hashCode()
hashCode
in class EnrichableElementDeclaration
Copyright © 2018. All rights reserved.