Class MetadataKeyPartModelProperty
java.lang.Object
org.mule.runtime.extension.api.property.MetadataKeyPartModelProperty
- All Implemented Interfaces:
Serializable,org.mule.runtime.api.meta.model.ModelProperty,org.mule.runtime.api.meta.NamedObject
public final class MetadataKeyPartModelProperty
extends Object
implements org.mule.runtime.api.meta.model.ModelProperty
A
ModelProperty for ParameterModel of SourceModel and OperationModel parameters that indicates
that the is a part of a MetadataKey.- Since:
- 1.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMetadataKeyPartModelProperty(int order) Creates a new instance.MetadataKeyPartModelProperty(int order, boolean providedByKeyResolver) Creates a new instance. -
Method Summary
-
Constructor Details
-
MetadataKeyPartModelProperty
public MetadataKeyPartModelProperty(int order) Creates a new instance.- Parameters:
order- the order of the parameter in theMetadataKey;
-
MetadataKeyPartModelProperty
public MetadataKeyPartModelProperty(int order, boolean providedByKeyResolver) Creates a new instance.- Parameters:
order- the order of the parameter in theMetadataKey;providedByKeyResolver- whether or not this part will be provided by the keys resolver associated to the container of this part
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceorg.mule.runtime.api.meta.model.ModelProperty- Specified by:
getNamein interfaceorg.mule.runtime.api.meta.NamedObject
-
isPublic
public boolean isPublic()- Specified by:
isPublicin interfaceorg.mule.runtime.api.meta.model.ModelProperty
-
getOrder
public int getOrder()The order of this parameter in theMetadataKey.- Returns:
- the order of the parameter for a composed
MetadataKey, 0 if is a simpleMetadataKey
-
isProvidedByKeyResolver
public boolean isProvidedByKeyResolver()- Returns:
- whether or not this part will be provided by the keys resolver associated to the container of this part, or if this part has no predefined values and has to be provided by the user entirely.
-