Package org.semanticweb.owlapi.reasoner
Enum Class FreshEntityPolicy
- All Implemented Interfaces:
Serializable
,Comparable<FreshEntityPolicy>
,java.lang.constant.Constable
A fresh entity is an entity that is not a built in entity (see
OWLEntity.isBuiltIn()
and is not contained within the
signature of the root ontology imports closure.- Since:
- 3.0.0
- Author:
- Matthew Horridge, The University of Manchester, Information Management Group
- See Also:
-
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 TypeMethodDescriptionstatic FreshEntityPolicy
Returns the enum constant of this class with the specified name.static FreshEntityPolicy[]
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
-
ALLOW
Specifies that fresh entities are allowed when they are encountered in the signature ofOWLObject
instances in queries to a reasoner. -
DISALLOW
Specifies that fresh entities are not disallowed. When a fresh entity is encountered in the signature of an OWLObject that is used in a query to a reasoner anFreshEntitiesException
will be thrown in the calling thread.
-
-
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
-