Class SubItemsAnnotation

java.lang.Object
org.apache.juneau.annotation.SubItemsAnnotation

public class SubItemsAnnotation extends Object
Utility classes and methods for the @SubItems annotation.
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • create

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

      public static boolean empty(SubItems a)
      Returns true if the specified annotation contains all default values.
      Parameters:
      a - The annotation to check.
      Returns:
      true if the specified annotation contains all default values.
    • merge

      public static JsonMap merge(JsonMap om, SubItems a) throws ParseException
      Merges the contents of the specified annotation into the specified generic map.
      Parameters:
      om - The map to copy the contents to.
      a - The annotation to apply.
      Returns:
      The same map with the annotation contents applied.
      Throws:
      ParseException - Invalid JSON found in value.