Package ubic.basecode.ontology.providers
Enum OntologyService.InferenceMode
- java.lang.Object
-
- java.lang.Enum<OntologyService.InferenceMode>
-
- ubic.basecode.ontology.providers.OntologyService.InferenceMode
-
- All Implemented Interfaces:
Serializable
,Comparable<OntologyService.InferenceMode>
- Enclosing interface:
- OntologyService
public static enum OntologyService.InferenceMode extends Enum<OntologyService.InferenceMode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FULL
Complete inference.MICRO
Very limited inference.MINI
Limited inference.NONE
No inference is supported, only the axioms defined in the ontology are considered.TRANSITIVE
Only basic inference is supported forrdfs:subClassOf
andrdfs:subPropertyOf
.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OntologyService.InferenceMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static OntologyService.InferenceMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final OntologyService.InferenceMode NONE
No inference is supported, only the axioms defined in the ontology are considered.
-
TRANSITIVE
public static final OntologyService.InferenceMode TRANSITIVE
Only basic inference is supported forrdfs:subClassOf
andrdfs:subPropertyOf
.This is the fastest inference mode.
-
MICRO
public static final OntologyService.InferenceMode MICRO
Very limited inference.
-
MINI
public static final OntologyService.InferenceMode MINI
Limited inference.
-
FULL
public static final OntologyService.InferenceMode FULL
Complete inference.This is the slowest inference mode.
-
-
Method Detail
-
values
public static OntologyService.InferenceMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OntologyService.InferenceMode c : OntologyService.InferenceMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OntologyService.InferenceMode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-