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

public static enum DocumentValueIgnore.Direction extends Enum<DocumentValueIgnore.Direction>
Represents the possible document serialisation directions.
Since:
4.0
  • Enum Constant Details

    • SERIALIZE

      public static final DocumentValueIgnore.Direction SERIALIZE
      Represents the serialization direction (from field/class to document).
    • DESERIALIZE

      public static final DocumentValueIgnore.Direction DESERIALIZE
      Represents the deserialization direction (from document to field/class).
  • Constructor Details

    • Direction

      private Direction()
  • Method Details

    • values

      public static DocumentValueIgnore.Direction[] 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 DocumentValueIgnore.Direction 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