public interface CustomizableElementDeclaration
This is useful for pieces of data that might be specific to particular representations of the declared artifact, like custom XML properties or conventions that are not related to the artifact model but necessary for not loosing information during its serialization/deserialization.
| Modifier and Type | Method and Description |
|---|---|
void |
addCustomConfigurationParameter(ParameterElementDeclaration customParameter)
Adds a
custom parameter to this enrichable element declaration. |
List<ParameterElementDeclaration> |
getCustomConfigurationParameters()
The
customConfigurationParameters refer to parameters that are part of a declaration
configuration but do not match to an element in the model, thus being custom of how the
declaration was created. |
List<ParameterElementDeclaration> getCustomConfigurationParameters()
customConfigurationParameters refer to parameters that are part of a declaration
configuration but do not match to an element in the model, thus being custom of how the
declaration was created.
An example for this would be having a <ns:identifier doc:name="myCustomName">,
where doc:name is a custom attribute that enriches the XML representation
of an ElementDeclarationList of parameters associated with
thisvoid addCustomConfigurationParameter(ParameterElementDeclaration customParameter)
custom parameter to this enrichable element declaration.
The customConfigurationParameters refer to parameters that are part of a declaration
configuration but do not match to an element in the model, thus being custom of how the
declaration was created.
An example for this would be having a <ns:identifier doc:name="myCustomName">,
where doc:name is a custom attribute that enriches the XML representation
of an ElementDeclaration
No validation of any kind will be performed over this customParameter and its value.customParameter - the ParameterElementDeclaration to associate to this element declarationCopyright © 2017 MuleSoft, Inc.. All rights reserved.