Package cz.cvut.kbss.jsonld.annotation
Enum Class JsonLdProperty.Access
- All Implemented Interfaces:
Serializable
,Comparable<JsonLdProperty.Access>
,Constable
- Enclosing class:
- JsonLdProperty
Specifies property access options.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe property can be only read from (serialization).The property can be written to (deserialization) and read from (serialization).The property can be only written to (deserialization). -
Method Summary
Modifier and TypeMethodDescriptionstatic JsonLdProperty.Access
Returns the enum constant of this class with the specified name.static JsonLdProperty.Access[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
READ_WRITE
The property can be written to (deserialization) and read from (serialization). -
READ_ONLY
The property can be only read from (serialization). -
WRITE_ONLY
The property can be only written to (deserialization).
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-