- All Implemented Interfaces:
Serializable
,Comparable<PunningsMode>
,Constable
A standard personality mode to manage punnings.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionForbidden intersections of rdf-declarations: Class <-> Datatype ObjectProperty <-> DataPropertyFor OWL1 DL.For OWL1 DL.For OWL2 DL.Allow any entity type intersections. -
Method Summary
Modifier and TypeMethodDescriptionstatic PunningsMode
Returns the enum constant of this class with the specified name.static PunningsMode[]
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
-
DL1_COMPATIBLE
For OWL1 DL. OWL1 DL required a strict separation between the names of, e.g., classes and individuals. The difference between this mode andDL1
is that declarationsrdfs:Class
&rdfs:Datatype
considered as OntClass declarations; also,owl:Restriction
is considered as prohibited declaration for entities that aren't classes (properties, datarange, named individuals). SeeOntModelControls.USE_LEGACY_COMPATIBLE_NAMED_CLASS_FACTORY
-
DL1
For OWL1 DL. OWL1 DL required a strict separation between the names of, e.g., classes and individuals. -
DL2
For OWL2 DL. Personality with four kinds of restriction on ardf:type
intersection (i.e. "illegal punnings"):- Named owl:Class <-> Named rdfs:Datatype
- Named owl:ObjectProperty <-> owl:DatatypeProperty
- Named owl:ObjectProperty <-> owl:AnnotationProperty
- owl:AnnotationProperty <-> owl:DatatypeProperty
-
DL_WEAK
Forbidden intersections of rdf-declarations:- Class <-> Datatype
- ObjectProperty <-> DataProperty
-
FULL
Allow any entity type intersections.
-
-
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
-