Enum Class RDFResourceRole

All Implemented Interfaces:
Serializable, Comparable<RDFResourceRole>, Constable

public enum RDFResourceRole extends Enum<RDFResourceRole>
this enum class provides a closed list of resource types according to the OWL vocabulary. Can be used as a fast-to-use reference vocabulary for managing different behavior of methods according to type of processed resources
Armando Stellato, Manuel Fiorelli
  • Enum Constant Details

  • Method Details

    • values

      public static RDFResourceRole[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static RDFResourceRole 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.)
      name - the name of the enum constant to be returned.
      the enum constant with the specified name
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getIRI

      public org.eclipse.rdf4j.model.IRI getIRI()
    • subsumes

      public boolean subsumes(RDFResourceRole role)
    • isProperty

      public boolean isProperty()
    • isClass

      public boolean isClass()
    • isSkosCollection

      public boolean isSkosCollection()
    • subsumes

      public static boolean subsumes(RDFResourceRole subsumer, RDFResourceRole subsumee)
    • subsumes

      public static boolean subsumes(RDFResourceRole subsumer, RDFResourceRole subsumee, boolean undeterminedSubsumeesAll)
    • isProperty

      public static boolean isProperty(RDFResourceRole role)
    • isClass

      public static boolean isClass(RDFResourceRole role)
    • isSkosCollection

      public static boolean isSkosCollection(RDFResourceRole role)