org.semanticweb.kaon2.api
Interface Entity

All Known Subinterfaces:
AnnotationProperty, DataProperty, Datatype, Individual, NonOWLPredicate, ObjectProperty, OWLClass, OWLEntity

public interface Entity

Represents a entity in a DL ontology. An entity is an object with an URI.


Method Summary
 java.lang.Object accept(KAON2Visitor visitor)
          Accepts a visitor for this object.
 java.lang.String getURI()
          Returns the URI of the entity.
 void toString(java.lang.StringBuffer buffer, Namespaces namespaces)
          Writes this entity to the supplied string buffer.
 

Method Detail

getURI

java.lang.String getURI()
Returns the URI of the entity.

Returns:
the entity URI

toString

void toString(java.lang.StringBuffer buffer,
              Namespaces namespaces)
Writes this entity to the supplied string buffer.

Parameters:
buffer - the buffer
namespaces - the namespaces object

accept

java.lang.Object accept(KAON2Visitor visitor)
Accepts a visitor for this object.

Parameters:
visitor - the visitor for this object
Returns:
the return value of the visitor (can be null)