Enum Class DocumentValueIgnore.Direction
java.lang.Object
java.lang.Enum<DocumentValueIgnore.Direction>
eu.cloudnetservice.driver.document.annotations.DocumentValueIgnore.Direction
- All Implemented Interfaces:
Serializable,Comparable<DocumentValueIgnore.Direction>,Constable
- Enclosing class:
DocumentValueIgnore
Represents the possible document serialisation directions.
- Since:
- 4.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRepresents the deserialization direction (from document to field/class).Represents the serialization direction (from field/class to document). -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static DocumentValueIgnore.Direction[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SERIALIZE
Represents the serialization direction (from field/class to document). -
DESERIALIZE
Represents the deserialization direction (from document to field/class).
-
-
Constructor Details
-
Direction
private Direction()
-
-
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
-