Class SchemaApplyAnnotation

java.lang.Object
org.apache.juneau.marshall.SchemaApplyAnnotation

public class SchemaApplyAnnotation extends Object
Utility classes and methods for the @SchemaApply annotation.
  • Field Details

  • Method Details

    • create

      Instantiates a new builder for this class.
      Returns:
      A new builder object.
    • create

      public static SchemaApplyAnnotation.Builder create(Class<?>... on)
      Instantiates a new builder for this class.
      Parameters:
      on - The targets this annotation applies to.
      Returns:
      A new builder object.
    • create

      Instantiates a new builder for this class.
      Parameters:
      on - The targets this annotation applies to.
      Returns:
      A new builder object.
    • empty

      public static boolean empty(SchemaApply a)
      Returns true if the specified annotation contains all default values.
      Parameters:
      a - The annotation to check. Can be null (returns true).
      Returns:
      true if the specified annotation contains all default values.