Enum Class NifEverything.NifProperty

java.lang.Object
java.lang.Enum<NifEverything.NifProperty>
org.aksw.qa.annotation.util.NifEverything.NifProperty
All Implemented Interfaces:
Serializable, Comparable<NifEverything.NifProperty>, java.lang.constant.Constable
Enclosing class:
NifEverything

public static enum NifEverything.NifProperty extends Enum<NifEverything.NifProperty>
Wraps implementations of Marking. For the annotations we do here, we only need annotations with (offset, length and uriList) This Enum helps to get some means of generalization.
Author:
Jonathan
  • Enum Constant Details

  • Constructor Details

    • NifProperty

      private NifProperty()
  • Method Details

    • values

      public static NifEverything.NifProperty[] 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 NifEverything.NifProperty 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
    • getInstanceWith

      public abstract org.aksw.gerbil.transfer.nif.Marking getInstanceWith(int offset, int len, List<String> uris)
      Parameters:
      offset - Offset of the annotated word respective to sentence start
      len - length of annotated word
      uris - list of annotations
      Returns:
      a new instance of Marking