edu.unika.aifb.kaon
Interface Relation

All Known Implementing Classes:
RelationImpl, RelationImpl

public interface Relation
extends HierarchicalEntity


Method Summary
 voidaddDomain(Concept c)
          TO DO - JavaDoc
 Concept[]getDomain()
          Insert the method's description here.
 ConceptgetRange()
          Insert the method's description here.
 ObjectgetRegisteredRange(Instance domain)
          Insert the method's description here.
 booleanisDomain(Concept c)
          Checks, whether the given Concept belongs to the domains of this relation Creation date: (09.07.2001 14:43:45)
 booleanisRange(Concept c)
          Checks whether the given Concept belongs to the range of this relation Creation date: (09.07.2001 14:44:17)
 booleanisRangeLiteral()
           
 voidremoveDomain(Concept c)
          Removes the specified concept from the list of domains of this relation.
 voidsetRange(Concept range)
          TO DO - JavaDoc
 voidsetRangeLiteral()
           

Methods inherited from interface edu.unika.aifb.kaon.HierarchicalEntity
addSub, addSuper, getDirectSub, getDirectSuper, getSub, getSuper, isMySubEntity, removeSub, removeSuper

Methods inherited from interface edu.unika.aifb.kaon.NamedEntity
getDocumentation, getDocumentation, getLabel, getLabel, getStems, getSynonymsME, setDocumentation, setLabel, setStems, setSynonymsME

Methods inherited from interface edu.unika.aifb.kaon.Entity
getIdentifier, getOntology, setIdentifier, setOntology

Methods inherited from interface edu.unika.aifb.kaon.ReferencedEntity
getLexicalEntries

Method Detail

addDomain

public void addDomain(Concept c)
throws edu.unika.aifb.sitris.exception.NotSupportedException,
org.w3c.rdf.model.ModelException
TO DO - JavaDoc
Parameters:
c - edu.unika.aifb.kaon.Concept
Throws:
edu.unika.aifb.sitris.exception.NotSupportedException - The exception description.
org.w3c.rdf.model.ModelException - The exception description.

getDomain

public Concept[] getDomain()
throws org.w3c.rdf.model.ModelException,
edu.unika.aifb.sitris.exception.NotSupportedException
Insert the method's description here. Creation date: (09.07.2001 11:31:13)
Returns: edu.unika.aifb.sitris.ontology.Concept

getRange

public Concept getRange()
throws org.w3c.rdf.model.ModelException,
edu.unika.aifb.sitris.exception.NotSupportedException
Insert the method's description here. Creation date: (09.07.2001 11:31:29)
Returns: edu.unika.aifb.sitris.ontology.Concept

getRegisteredRange

public Object getRegisteredRange(Instance domain)
throws org.w3c.rdf.model.ModelException,
edu.unika.aifb.sitris.exception.NotSupportedException
Insert the method's description here. Creation date: (09.07.2001 11:32:15)
Parameters:
domain - edu.unika.aifb.sitris.ontology.Concept
Returns: edu.unika.aifb.sitris.ontology.Concept

isDomain

public boolean isDomain(Concept c)
throws org.w3c.rdf.model.ModelException,
edu.unika.aifb.sitris.exception.NotSupportedException
Checks, whether the given Concept belongs to the domains of this relation Creation date: (09.07.2001 14:43:45)
Parameters:
c - edu.unika.aifb.sitris.ontology.Concept
Returns: boolean

isRange

public boolean isRange(Concept c)
throws org.w3c.rdf.model.ModelException,
edu.unika.aifb.sitris.exception.NotSupportedException
Checks whether the given Concept belongs to the range of this relation Creation date: (09.07.2001 14:44:17)
Parameters:
c - edu.unika.aifb.sitris.ontology.Concept
Returns: boolean

isRangeLiteral

public boolean isRangeLiteral()
throws org.w3c.rdf.model.ModelException,
edu.unika.aifb.sitris.exception.NotSupportedException

removeDomain

public void removeDomain(Concept c)
throws edu.unika.aifb.sitris.exception.NotSupportedException,
org.w3c.rdf.model.ModelException
Removes the specified concept from the list of domains of this relation.
Parameters:
c - edu.unika.aifb.kaon.Concept
Throws:
edu.unika.aifb.sitris.exception.NotSupportedException - The exception description.
org.w3c.rdf.model.ModelException - The exception description.

setRange

public void setRange(Concept range)
throws org.w3c.rdf.model.ModelException,
edu.unika.aifb.sitris.exception.NotSupportedException
TO DO - JavaDoc
Parameters:
range - edu.unika.aifb.kaon.Concept

setRangeLiteral

public void setRangeLiteral()
throws org.w3c.rdf.model.ModelException,
edu.unika.aifb.sitris.exception.NotSupportedException