Package cz.cvut.kbss.ontodriver
Enum Class Statement.StatementOntology
- All Implemented Interfaces:
Serializable
,Comparable<Statement.StatementOntology>
,java.lang.constant.Constable
- Enclosing interface:
- Statement
Specifies which ontology is used for statement evaluation.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe main ontology in the current state.Transactional ontology. -
Method Summary
Modifier and TypeMethodDescriptionstatic Statement.StatementOntology
Returns the enum constant of this class with the specified name.static Statement.StatementOntology[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TRANSACTIONAL
Transactional ontology. May contain uncommitted changes which influence the statement evaluation. -
SHARED
The main ontology in the current state. No uncommitted changes are present in it.
-
-
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
-