Annotation Type CanSatisfyOneOf


  • @Target(FIELD)
    @Retention(RUNTIME)
    public @interface CanSatisfyOneOf
    Indicates that the annotated field or can satisfy the OneOf requirements or can co-exist with that requirement.

    If this annotation is present then HasDefaultValue is not required.

    See Also:
    OneOf
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String value
      The choice group id.
    • Element Detail

      • value

        java.lang.String value
        The choice group id. One of the options in the choice group must be present in the parsed JSON.