org.semanticweb.elk.owl.predefined
Enum PredefinedElkClass
java.lang.Object
java.lang.Enum<PredefinedElkClass>
org.semanticweb.elk.owl.predefined.PredefinedElkClass
- All Implemented Interfaces:
- Serializable, Comparable<PredefinedElkClass>, ElkClass, ElkClassExpression, ElkEntity, ElkObject
public enum PredefinedElkClass
- extends Enum<PredefinedElkClass>
- implements ElkClass
Corresponds to predefined classes in the OWL
2 specification, such as owl:Thing and owl:Nothing.
- Author:
- "Yevgeny Kazakov"
OWL_THING
public static final PredefinedElkClass OWL_THING
OWL_NOTHING
public static final PredefinedElkClass OWL_NOTHING
values
public static PredefinedElkClass[] 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 (PredefinedElkClass c : PredefinedElkClass.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static PredefinedElkClass 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 name
NullPointerException - if the argument is null
getIri
public ElkIri getIri()
- Specified by:
getIri in interface ElkEntity
- Returns:
- The IRI of this entity.
accept
public <O> O accept(ElkClassExpressionVisitor<O> visitor)
- Description copied from interface:
ElkClassExpression
- Accept an
ElkClassExpressionVisitor.
- Specified by:
accept in interface ElkClassExpression
- Parameters:
visitor - the visitor that can work with this axiom type
- Returns:
- the output of the visitor
accept
public <O> O accept(ElkObjectVisitor<O> visitor)
- Specified by:
accept in interface ElkObject
accept
public <O> O accept(ElkEntityVisitor<O> visitor)
- Description copied from interface:
ElkEntity
- Accept an
ElkEntityVisitor.
- Specified by:
accept in interface ElkEntity
- Parameters:
visitor - the visitor that can work with this axiom type
- Returns:
- the output of the visitor
Copyright © 2011-2013 Department of Computer Science, University of Oxford. All Rights Reserved.