Enum Class JsonLdProperty.Access

java.lang.Object
java.lang.Enum<JsonLdProperty.Access>
cz.cvut.kbss.jsonld.annotation.JsonLdProperty.Access
All Implemented Interfaces:
Serializable, Comparable<JsonLdProperty.Access>, Constable
Enclosing class:
JsonLdProperty

public static enum JsonLdProperty.Access extends Enum<JsonLdProperty.Access>
Specifies property access options.
  • Enum Constant Details

    • READ_WRITE

      public static final JsonLdProperty.Access READ_WRITE
      The property can be written to (deserialization) and read from (serialization).
    • READ_ONLY

      public static final JsonLdProperty.Access READ_ONLY
      The property can be only read from (serialization).
    • WRITE_ONLY

      public static final JsonLdProperty.Access WRITE_ONLY
      The property can be only written to (deserialization).
  • Method Details

    • values

      public static JsonLdProperty.Access[] 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 JsonLdProperty.Access 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