Enum Include

  • All Implemented Interfaces:
    Serializable, Comparable<Include>

    public enum Include
    extends Enum<Include>
    Holds the available options for configuring the content of the generated JSON response body.

    Except for the ALL option, the inclusions are cumulative and non-conflicting. The use of the ALL option implies that every possible inclusion will proceed.

    Since:
    6.0.0
    See Also:
    ExtendedOutput
    • Enum Constant Detail

      • ALL

        public static final Include ALL
        Includes every available information.
      • LABEL

        public static final Include LABEL
        Includes labels.
      • MERGE_INFO

        public static final Include MERGE_INFO
        Includes the history merge information.
      • META

        public static final Include META
        Includes the metadata.
      • DETAILS

        public static final Include DETAILS
        Includes the URLs to the items' details.
      • SELECTOR

        public static final Include SELECTOR
        Includes the URLs to the selectors' details.
      • TECHNICALS

        public static final Include TECHNICALS
        Includes the technical data (i.e. the records' creation date).
      • VALIDATION

        public static final Include VALIDATION
        Includes the validation reports.
      • HISTORY

        public static final Include HISTORY
        Includes data related to the history (i.e. history activation for a table).
      • CONTENT

        public static final Include CONTENT
        Includes every item's content.
    • Method Detail

      • values

        public static Include[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Include c : Include.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Include valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null