edu.unika.aifb.kaon
Class AbstractEntity

Direct Known Subclasses:
AbstractNamedEntity, LexicalEntryImpl, LexicalEntryImpl

public abstract class AbstractEntity
implements Entity

AbstractEntity Commonly required implementations part of Simple Triple Store (SITRIS) http://ontoserver.aifb.uni-karlsruhe.de/sitris

Author:
: Raphael Volz (volz@aifb.uni-karlsruhe.de)
Version: : History: ---------

Field Summary
 (package private) VocabularyAdaptoradaptor
           
 (package private) NodeFactoryfactory
           
 (package private) Resourceidentifier
           
 (package private) Modelm
           
 (package private) Ontologyontology
           

Constructor Summary
AbstractEntity()
          TO DO - JavaDoc
AbstractEntity(Ontology o)
          AbstractEntity constructor comment.
AbstractEntity(Ontology o, Resource uri)
          AbstractEntity constructor comment.

Method Summary
 booleanequals(Object o)
          Two Entities are the same, iff their URIs are the same.
 org.w3c.rdf.model.ResourcegetIdentifier()
           
 OntologygetOntology()
           
 inthashCode()
          Returns the hash code of this object
 voidsetIdentifier(org.w3c.rdf.model.Resource uri)
           
 voidsetOntology(Ontology o)
           
 StringtoString()
          TO DO - JavaDoc

Field Detail

adaptor

VocabularyAdaptor adaptor

factory

NodeFactory factory

identifier

Resource identifier

m

Model m

ontology

Ontology ontology
Constructor Detail

AbstractEntity

public AbstractEntity()
TO DO - JavaDoc

AbstractEntity

public AbstractEntity(Ontology o)
AbstractEntity constructor comment.

AbstractEntity

public AbstractEntity(Ontology o, Resource uri)
AbstractEntity constructor comment.
Method Detail

equals

public boolean equals(Object o)
Two Entities are the same, iff their URIs are the same.
Parameters:
o - java.lang.Object
Returns: boolean

getIdentifier

public org.w3c.rdf.model.Resource getIdentifier()
See Also:
Entity

getOntology

public Ontology getOntology()
See Also:
Entity

hashCode

public int hashCode()
Returns the hash code of this object
Returns: int

setIdentifier

public void setIdentifier(org.w3c.rdf.model.Resource uri)
See Also:
Entity

setOntology

public void setOntology(Ontology o)
See Also:
Entity

toString

public String toString()
TO DO - JavaDoc
Returns: java.lang.String