Package org.semanticweb.owlapi.reasoner
Enum Class InferenceDepth
- All Implemented Interfaces:
Serializable
,Comparable<InferenceDepth>
,java.lang.constant.Constable
An enumeration that denotes depth of inference: direct or indirect relations,
e.g., all subclasses or only direct subclasses.
- Since:
- 5.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionboolean
static InferenceDepth
Returns the enum constant of this class with the specified name.static InferenceDepth[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
DIRECT
Only direct relations will be returned. E.g., only direct subclasses for subclasses requests. -
ALL
All relations will be returned, direct and indirect. E.g., all subclasses of a concept for subclasses requests.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
isDirectOnly
public boolean isDirectOnly()- Returns:
- true if only direct relations should be retrieved, false otherwise.
-