Package dev.morphia.annotations
Annotation Interface PossibleValues
@Documented
@Inherited
@Retention(RUNTIME)
@Target(METHOD)
@MorphiaExperimental
public @interface PossibleValues
Denotes the possible values for a configuration option. Depending on the config property, this list may not be exhausted. Consult
the documentation for that property for details.
- Since:
- 2.4
Developer note.
This is an experimental item. Its function and presence are subject to change. Feedback on features and usability extremely welcome.
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionboolean
Indicates that a fully qualified class name maybe listed as well.
-
Element Details
-
value
String[] value- Returns:
- the possible values
-
-
-
fqcn
boolean fqcnIndicates that a fully qualified class name maybe listed as well.- Returns:
- true if a class name maybe be listed.
- Default:
- true
-