@Target(value={PARAMETER,FIELD}) @Retention(value=RUNTIME) @Documented public @interface MetadataKeyId
MetadataKeysResolver referenced in the MetadataScope, at Operation, Source
or Extension level, which will return the list of available the MetadataKey or also, the lookup can be resolved
by the QueryEntityResolver.getEntityKeys(MetadataContext) for Query annotated operations, this time the
key will represent the query (DSQL or Native) which is used to calculate the output metadata.
MetadataKey of the annotated parameter will be taken as the key to provide metadata
for the parameter annotated with Content in a Operation and/or for output metadata of an Operation or Source.
Annotation Usage:
Parameter to mark it as
the metadata key parameter. The usage of this annotation in a non Parameter field, multiple fields or in a method
parameter, is not allowed.Copyright © 2016 MuleSoft, Inc.. All rights reserved.