Enum Class Isolation

java.lang.Object
java.lang.Enum<Isolation>
org.apache.jena.rdfconnection.Isolation
All Implemented Interfaces:
Serializable, Comparable<Isolation>, Constable

public enum Isolation extends Enum<Isolation>
Isolation settings for RDFConnection to a local dataset.
  • COPYModels and Datasets are copied. This is most like a remote connection.
  • READONLY – Read-only wrappers are added but changes to the underlying model or dataset will be seen.
  • NONE (default) – Changes to the returned Models or Datasets act on the original object.
  • Enum Constant Details

    • COPY

      public static final Isolation COPY
    • READONLY

      public static final Isolation READONLY
    • NONE

      public static final Isolation NONE
  • Method Details

    • values

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