Package com.contentful.java.cda
Annotation Type TransformQuery.ContentfulField
-
@Target(FIELD) @Retention(RUNTIME) public static @interface TransformQuery.ContentfulFieldThis annotation marks a field of aTransformQuery.ContentfulEntryModelto be part of the parsing.Once this filed is encountered, it's locale and value (the name of the field in Contentful) will be used to fill the custom type. Leaving value empty, or not stating it will mean the name of the field marked with this annotation will be used. Using the value, makes overwriting of different naming schemes in models and Contentful possible.
The locale attribute can be used to specify which language this entry should be used in.