java.lang.Object
org.mule.sdk.api.metadata.DefaultMetadataKey
- All Implemented Interfaces:
org.mule.runtime.api.metadata.MetadataEnrichableModel,MetadataKey
@MinMuleVersion("4.5.0")
public final class DefaultMetadataKey
extends Object
implements MetadataKey
Default immutable implementation for the
MetadataKey.- Since:
- 1.0
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefaultMetadataKey(String id, String displayName, Set<org.mule.runtime.api.metadata.MetadataProperty> properties, Set<MetadataKey> childs, String partName) -
Method Summary
-
Constructor Details
-
DefaultMetadataKey
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceMetadataKey- Returns:
- identifier for the current key
-
getDisplayName
- Specified by:
getDisplayNamein interfaceMetadataKey- Returns:
- human readable name to use when displaying the key
-
getChilds
- Specified by:
getChildsin interfaceMetadataKey- Returns:
- the child
MetadataKeysthat form a composedMetadataKey.
-
getPartName
- Specified by:
getPartNamein interfaceMetadataKey- Returns:
- the name of the part which this
MetadataKeyis from
-
getMetadataProperty
public <T extends org.mule.runtime.api.metadata.MetadataProperty> Optional<T> getMetadataProperty(Class<T> propertyType) - Specified by:
getMetadataPropertyin interfaceorg.mule.runtime.api.metadata.MetadataEnrichableModel
-
getProperties
- Specified by:
getPropertiesin interfaceorg.mule.runtime.api.metadata.MetadataEnrichableModel
-
hashCode
public int hashCode() -
equals
-
toString
-