@Target(value=FIELD) @Retention(value=RUNTIME) @Documented public @interface MetadataKeyPart
MetadataKey
as one of the parts
of that composed MetadataKey
.
Multiple MetadataKeyPart
s describe a POJO that can be annotated with MetadataKeyId
and also injected into a InputTypeResolver
or OutputTypeResolver
.
MetadataKeyPart
annotated fields must be of type String
Modifier and Type | Required Element and Description |
---|---|
int |
order
The resolution order of this key part, starting from
1 . |
Modifier and Type | Optional Element and Description |
---|---|
boolean |
providedByKeyResolver |
public abstract int order
1
.MetadataKeyId
annotated parameter corresponding to this MetadataKeyPart
.public abstract boolean providedByKeyResolver
this
MetadataKeyPart
will be provided by the
TypeKeysResolver
associated to the container of this part, or if this
part
has no predefined values and has to be provided by the user entirely.Copyright © 2018. All rights reserved.