Enum Class TripleScopes

java.lang.Object
java.lang.Enum<TripleScopes>
it.uniroma2.art.semanticturkey.data.nature.TripleScopes
All Implemented Interfaces:
Serializable, Comparable<TripleScopes>, Constable

public enum TripleScopes extends Enum<TripleScopes>
This enumeration defins possible scopes for a triple.
  • local: data in the working graph
  • staged: data comes from the staging graph
  • del_staged: data comes from the deletion staging graph
  • imported: data comes from an imported ontology. Currently, this corresponds to data coming from any graph that is not in the other categories
  • inferred: data comes was inferred
Author:
Manuel Fiorelli
  • Enum Constant Details

  • Method Details

    • values

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