Annotation Interface 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:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The choice group id.
  • Element Details

    • value

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