public final class DeclaringMemberModelProperty extends Object implements org.mule.runtime.api.meta.model.ModelProperty
ParameterModel to the actual member it represents.
The most common use case for this is to support the Alias annotation. For example, consider a
ConfigurationModel parameter which is obtained through inspecting fields in a class. This property allows for the
introspection model to list the parameter by a given alias, while this parameter still provides the real name of the field
which is going to be needed for further operations
Another common use case is to get the field Annotations in order to enrich the model with other properties.
| Constructor and Description |
|---|
DeclaringMemberModelProperty(Field declaringField) |
| Modifier and Type | Method and Description |
|---|---|
Field |
getDeclaringField()
The field associated to the
ParameterModel |
String |
getName() |
boolean |
isPublic() |
public DeclaringMemberModelProperty(Field declaringField)
public Field getDeclaringField()
ParameterModelFieldpublic String getName()
getName in interface org.mule.runtime.api.meta.model.ModelPropertygetName in interface org.mule.runtime.api.meta.NamedObjectdeclaringMemberpublic boolean isPublic()
isPublic in interface org.mule.runtime.api.meta.model.ModelPropertyfalseCopyright © 2003–2019 MuleSoft, Inc.. All rights reserved.