Package org.osgi.service.dal
Interface OperationMetadata
public interface OperationMetadata
Contains metadata about function operation.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Metadata key, which value represents the operation description. -
Method Summary
Modifier and TypeMethodDescriptionReturns metadata about the function operation.Returns metadata about the operation parameters ornull
if no such metadata is available.Returns metadata about the operation return value ornull
if no such metadata is available.
-
Field Details
-
DESCRIPTION
Metadata key, which value represents the operation description. The property value type isjava.lang.String
.- See Also:
-
-
Method Details
-
getMetadata
Returns metadata about the function operation. The keys of thejava.util.Map
result must be ofjava.lang.String
type. Possible keys:DESCRIPTION
- custom key
- Returns:
- The operation metadata or
null
if no such metadata is available.
-
getReturnValueMetadata
PropertyMetadata getReturnValueMetadata()Returns metadata about the operation return value ornull
if no such metadata is available.- Returns:
- Operation return value metadata.
-
getParametersMetadata
PropertyMetadata[] getParametersMetadata()Returns metadata about the operation parameters ornull
if no such metadata is available.- Returns:
- Operation parameters metadata.
-