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 FULLComplete inference.MICROVery limited inference.MINILimited inference.NONENo inference is supported, only the axioms defined in the ontology are considered.TRANSITIVEOnly basic inference is supported forrdfs:subClassOfandrdfs:subPropertyOf.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OntologyService.InferenceModevalueOf(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:subClassOfandrdfs: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
-
-