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 Details

    • MetadataKeyPartModelProperty

      public MetadataKeyPartModelProperty(int order)
      Creates a new instance.
      Parameters:
      order - the order of the parameter in the MetadataKey;
    • MetadataKeyPartModelProperty

      public MetadataKeyPartModelProperty(int order, boolean providedByKeyResolver)
      Creates a new instance.
      Parameters:
      order - the order of the parameter in the MetadataKey;
      providedByKeyResolver - whether or not this part will be provided by the keys resolver associated to the container of this part
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface org.mule.runtime.api.meta.model.ModelProperty
      Specified by:
      getName in interface org.mule.runtime.api.meta.NamedObject
    • isPublic

      public boolean isPublic()
      Specified by:
      isPublic in interface org.mule.runtime.api.meta.model.ModelProperty
    • getOrder

      public int getOrder()
      The order of this parameter in the MetadataKey.
      Returns:
      the order of the parameter for a composed MetadataKey, 0 if is a simple MetadataKey
    • 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.