Enum Class JsonMetaDataRenderMode

java.lang.Object
java.lang.Enum<JsonMetaDataRenderMode>
de.espirit.firstspirit.generate.functions.json.JsonMetaDataRenderMode
All Implemented Interfaces:
Serializable, Comparable<JsonMetaDataRenderMode>, Constable

public enum JsonMetaDataRenderMode extends Enum<JsonMetaDataRenderMode>
Controls rendering of meta data in the output json.
Since:
5.2.250404
  • Enum Constant Details

    • NONE

      public static final JsonMetaDataRenderMode NONE
      No meta data is rendered
      Since:
      5.2.250404
    • IF_DEFINED

      public static final JsonMetaDataRenderMode IF_DEFINED
      Renders meta data that is defined in the store element
      Since:
      5.2.250404
    • INHERITED_OR_DEFINED

      public static final JsonMetaDataRenderMode INHERITED_OR_DEFINED
      Renders meta data that is defined in the store element and meta data that is inherited from the store element's parents
      Since:
      5.2.250404
    • INTELLIGENT

      public static final JsonMetaDataRenderMode INTELLIGENT
      Intelligent field-based meta data rendering: renders inherited meta data only if it hasn't appeared in the json node before This is used to limit redundancy. Meta data is inherited on a per-field basis
      Since:
      5.2.250404
    • INTELLIGENT_CAAS

      public static final JsonMetaDataRenderMode INTELLIGENT_CAAS
      Intelligent element-based meta data rendering: renders inherited meta data only if it hasn't appeared in the json node before This is used to limit redundancy. Meta data is inherited on a per-element basis.
      Since:
      5.2.250404
  • Method Details

    • values

      public static JsonMetaDataRenderMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static JsonMetaDataRenderMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • from

      @NotNull public static @NotNull JsonMetaDataRenderMode from(@NotNull @NotNull String value)
      Gets a JsonMetaDataRenderMode from the given string
      Parameters:
      value - The name of the JsonMetaDataRenderMode
      Returns:
      The JsonMetaDataRenderMode
      Throws:
      IllegalArgumentException - If the name is not recognized
      Since:
      5.2.250404