Enum Class InferenceDepth

java.lang.Object
java.lang.Enum<InferenceDepth>
org.semanticweb.owlapi.reasoner.InferenceDepth
All Implemented Interfaces:
Serializable, Comparable<InferenceDepth>, java.lang.constant.Constable

public enum InferenceDepth extends Enum<InferenceDepth>
An enumeration that denotes depth of inference: direct or indirect relations, e.g., all subclasses or only direct subclasses.
Since:
5.0.0
  • Enum Constant Details

    • DIRECT

      public static final InferenceDepth DIRECT
      Only direct relations will be returned. E.g., only direct subclasses for subclasses requests.
    • ALL

      public static final InferenceDepth ALL
      All relations will be returned, direct and indirect. E.g., all subclasses of a concept for subclasses requests.
  • Method Details

    • values

      public static InferenceDepth[] 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 InferenceDepth 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
    • isDirectOnly

      public boolean isDirectOnly()
      Returns:
      true if only direct relations should be retrieved, false otherwise.