java.lang.Object
java.lang.Enum<JsonValueFormat>
edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.jsonFormatVisitors.JsonValueFormat
All Implemented Interfaces:
Serializable, Comparable<JsonValueFormat>, java.lang.constant.Constable

public enum JsonValueFormat extends Enum<JsonValueFormat>
This enum represents the encoded format for a jsonSchema value type
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    This is a CSS color (like "#FF0000" or "red"), based on CSS 2.1 [W3C.CR-CSS21-20070719].
    This SHOULD be a date in the format of YYYY-MM-DD.
    This SHOULD be a date in ISO 8601 format of YYYY-MM- DDThh:mm:ssZ in UTC time.
    This SHOULD be an email address.
    This SHOULD be a host-name.
    This SHOULD be an ip version 4 address.
    This SHOULD be an ip version 6 address.
    This SHOULD be a phone number (format MAY follow E.123).
    A regular expression, following the regular expression specification from ECMA 262/Perl 5.
    This is a CSS style definition (like "color: red; background- color:#FFF"), based on CSS 2.1 [W3C.CR-CSS21-20070719].
    This SHOULD be a time in the format of hh:mm:ss.
    This value SHOULD be a URI.
    This SHOULD be the difference, measured in milliseconds, between the specified time and midnight, 00:00 of January 1, 1970 UTC.
    Value should be valid UUID
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • COLOR

      public static final JsonValueFormat COLOR
      This is a CSS color (like "#FF0000" or "red"), based on CSS 2.1 [W3C.CR-CSS21-20070719].
    • DATE

      public static final JsonValueFormat DATE
      This SHOULD be a date in the format of YYYY-MM-DD. It is recommended that you use the "date-time" format instead of "date" unless you need to transfer only the date part.
    • DATE_TIME

      public static final JsonValueFormat DATE_TIME
      This SHOULD be a date in ISO 8601 format of YYYY-MM- DDThh:mm:ssZ in UTC time. This is the recommended form of date/ timestamp.
    • EMAIL

      public static final JsonValueFormat EMAIL
      This SHOULD be an email address.
    • HOST_NAME

      public static final JsonValueFormat HOST_NAME
      This SHOULD be a host-name.
    • IP_ADDRESS

      public static final JsonValueFormat IP_ADDRESS
      This SHOULD be an ip version 4 address.
    • IPV6

      public static final JsonValueFormat IPV6
      This SHOULD be an ip version 6 address.
    • PHONE

      public static final JsonValueFormat PHONE
      This SHOULD be a phone number (format MAY follow E.123).
    • REGEX

      public static final JsonValueFormat REGEX
      A regular expression, following the regular expression specification from ECMA 262/Perl 5.
    • STYLE

      public static final JsonValueFormat STYLE
      This is a CSS style definition (like "color: red; background- color:#FFF"), based on CSS 2.1 [W3C.CR-CSS21-20070719].
    • TIME

      public static final JsonValueFormat TIME
      This SHOULD be a time in the format of hh:mm:ss. It is recommended that you use the "date-time" format instead of "time" unless you need to transfer only the time part.
    • URI

      public static final JsonValueFormat URI
      This value SHOULD be a URI.
    • UTC_MILLISEC

      public static final JsonValueFormat UTC_MILLISEC
      This SHOULD be the difference, measured in milliseconds, between the specified time and midnight, 00:00 of January 1, 1970 UTC. The value SHOULD be a number (integer or float).
    • UUID

      public static final JsonValueFormat UUID
      Value should be valid UUID
      Since:
      2.10
  • Method Details

    • values

      public static JsonValueFormat[] 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 JsonValueFormat 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<JsonValueFormat>