Class MetadataKeyIdModelProperty

java.lang.Object
org.mule.runtime.extension.api.property.MetadataKeyIdModelProperty
All Implemented Interfaces:
Serializable, org.mule.runtime.api.meta.model.ModelProperty, org.mule.runtime.api.meta.NamedObject

public final class MetadataKeyIdModelProperty extends Object implements org.mule.runtime.api.meta.model.ModelProperty
A ModelProperty for a of SourceModel and OperationModel parameters that indicates that its a MetadataKeyId.
Since:
1.0
See Also:
  • Field Details

  • Constructor Details

    • MetadataKeyIdModelProperty

      @Deprecated public MetadataKeyIdModelProperty(org.mule.metadata.api.model.MetadataType type, String parameterName)
      Deprecated.
      Creates a new instance.
      Parameters:
      type - of the ParameterModel annotated with MetadataKeyId.
    • MetadataKeyIdModelProperty

      public MetadataKeyIdModelProperty(org.mule.metadata.api.model.MetadataType type, String parameterName, String categoryName)
  • 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
    • getType

      public org.mule.metadata.api.model.MetadataType getType()
      Returns:
      the type of the ParameterModel annotated with MetadataKeyId
    • getParameterName

      public String getParameterName()
      Returns:
      the parameter name that is considered as the MetadataKeyId
    • getCategoryName

      public Optional<String> getCategoryName()
      Returns:
      The category name where the current MetadataKeyId belongs.