Enum Class FormatConfiguration.Shape

java.lang.Object
java.lang.Enum<FormatConfiguration.Shape>
io.micronaut.serde.FormatConfiguration.Shape
All Implemented Interfaces:
Serializable, Comparable<FormatConfiguration.Shape>, Constable
Enclosing class:
FormatConfiguration

public static enum FormatConfiguration.Shape extends Enum<FormatConfiguration.Shape>
Shape values supported by format metadata.
Since:
3.0
Author:
Denis Stepanov
  • Enum Constant Details

  • Method Details

    • values

      public static FormatConfiguration.Shape[] 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 FormatConfiguration.Shape 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
    • isNumeric

      public boolean isNumeric()
      Returns:
      true if this shape is numeric
    • isStructured

      public boolean isStructured()
      Returns:
      true if this shape is structured
    • isPojoShape

      public boolean isPojoShape()
      Returns:
      true if this shape should use POJO-like object handling
      Since:
      3.0