Enum Class SpaceDocumentSupport

java.lang.Object
java.lang.Enum<SpaceDocumentSupport>
com.gigaspaces.metadata.SpaceDocumentSupport
All Implemented Interfaces:
Serializable, Comparable<SpaceDocumentSupport>, java.lang.constant.Constable

public enum SpaceDocumentSupport extends Enum<SpaceDocumentSupport>
Determines behavior when an object is converted to/from a SpaceDocument.
Since:
8.0.1
Author:
Niv Ingberg
  • Enum Constant Details

    • DEFAULT

      public static final SpaceDocumentSupport DEFAULT
      Space document support will be determined automatically according to the object's class.
    • COPY

      public static final SpaceDocumentSupport COPY
      Object reference is copied as-is - no conversion is performed.
    • CONVERT

      public static final SpaceDocumentSupport CONVERT
      Object is converted to/from space document, according to the operation's context.
  • Method Details

    • values

      public static SpaceDocumentSupport[] 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 SpaceDocumentSupport 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