org.semanticweb.owlapi.model
Class EntityType<E extends OWLEntity>

java.lang.Object
  extended by org.semanticweb.owlapi.model.EntityType<E>

public final class EntityType<E extends OWLEntity>
extends java.lang.Object

Author: Matthew Horridge
The University of Manchester
Information Management Group
Date: 11-Oct-2009

Represents the different types of OWL 2 Entities.


Field Summary
static EntityType<OWLAnnotationProperty> ANNOTATION_PROPERTY
           
static EntityType<OWLClass> CLASS
           
static EntityType<OWLDataProperty> DATA_PROPERTY
           
static EntityType<OWLDatatype> DATATYPE
           
static EntityType<OWLNamedIndividual> NAMED_INDIVIDUAL
           
static EntityType<OWLObjectProperty> OBJECT_PROPERTY
           
 
Method Summary
 java.lang.String getName()
           
 OWLRDFVocabulary getVocabulary()
           
 java.lang.String toString()
          Returns the name of this enum constant, as contained in the declaration.
static EntityType[] values()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS

public static final EntityType<OWLClass> CLASS

OBJECT_PROPERTY

public static final EntityType<OWLObjectProperty> OBJECT_PROPERTY

DATA_PROPERTY

public static final EntityType<OWLDataProperty> DATA_PROPERTY

ANNOTATION_PROPERTY

public static final EntityType<OWLAnnotationProperty> ANNOTATION_PROPERTY

NAMED_INDIVIDUAL

public static final EntityType<OWLNamedIndividual> NAMED_INDIVIDUAL

DATATYPE

public static final EntityType<OWLDatatype> DATATYPE
Method Detail

getVocabulary

public OWLRDFVocabulary getVocabulary()

getName

public java.lang.String getName()

toString

public java.lang.String toString()
Returns the name of this enum constant, as contained in the declaration. This method may be overridden, though it typically isn't necessary or desirable. An enum type should override this method when a more "programmer-friendly" string form exists.

Overrides:
toString in class java.lang.Object
Returns:
the name of this enum constant

values

public static EntityType[] values()