edu.unika.aifb.kaon
Class RelationImpl

edu.unika.aifb.kaon.AbstractEntity
  |
  +--edu.unika.aifb.kaon.AbstractNamedEntity
        |
        +--edu.unika.aifb.kaon.AbstractNamedHierarchical
              |
              +--edu.unika.aifb.kaon.RelationImpl

public class RelationImpl
extends AbstractNamedHierarchical
implements Relation


Fields inherited from class edu.unika.aifb.kaon.AbstractEntity
adaptor, factory, identifier, m, ontology

Method Summary
 voidaddDomain(Concept c)
           
 Concept[]getDomain()
           
 AbstractNamedEntitygetNewObject(Ontology o, org.w3c.rdf.model.Resource identifier)
           
 ConceptgetRange()
           
 ObjectgetRegisteredRange(Instance domain)
           
 booleanisDomain(Concept c)
           
 booleanisRange(Concept c)
           
 booleanisRangeLiteral()
           
 voidremoveDomain(Concept c)
           
 voidsetRange(Concept range)
          TO DO - TA
 voidsetRangeLiteral()
           
 booleanvalidClass(HierarchicalEntity e)
           
 booleanvalidToAddAsSuper(HierarchicalEntity e)
          - Checken, ob Vererbungsgraph azyklisch (siehe VRP)

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

Methods inherited from class edu.unika.aifb.kaon.AbstractNamedEntity
getDocumentation, getDocumentation, getLabel, getLabel, getLexicalEntries, getStems, getSynonymsME, setDocumentation, setLabel, setStems, setSynonymsME

Methods inherited from class edu.unika.aifb.kaon.AbstractEntity
equals, getIdentifier, getOntology, hashCode, setIdentifier, setOntology, toString

Method Detail

addDomain

public void addDomain(Concept c)
throws edu.unika.aifb.sitris.exception.NotSupportedException,
org.w3c.rdf.model.ModelException
See Also:
Relation

getDomain

public Concept[] getDomain()
throws org.w3c.rdf.model.ModelException,
edu.unika.aifb.sitris.exception.NotSupportedException
See Also:
Relation

getNewObject

public AbstractNamedEntity getNewObject(Ontology o, org.w3c.rdf.model.Resource identifier)
See Also:
AbstractNamedHierarchical

getRange

public Concept getRange()
throws org.w3c.rdf.model.ModelException,
edu.unika.aifb.sitris.exception.NotSupportedException
See Also:
Relation

getRegisteredRange

public Object getRegisteredRange(Instance domain)
throws edu.unika.aifb.sitris.exception.NotSupportedException,
org.w3c.rdf.model.ModelException
See Also:
Relation

isDomain

public boolean isDomain(Concept c)
throws org.w3c.rdf.model.ModelException,
edu.unika.aifb.sitris.exception.NotSupportedException
See Also:
Relation

isRange

public boolean isRange(Concept c)
throws org.w3c.rdf.model.ModelException,
edu.unika.aifb.sitris.exception.NotSupportedException
See Also:
Relation

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
See Also:
Relation

setRange

public void setRange(Concept range)
throws org.w3c.rdf.model.ModelException,
edu.unika.aifb.sitris.exception.NotSupportedException
TO DO - TA
See Also:
Relation

setRangeLiteral

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

validClass

public boolean validClass(HierarchicalEntity e)
See Also:
AbstractNamedHierarchical

validToAddAsSuper

public boolean validToAddAsSuper(HierarchicalEntity e)
- Checken, ob Vererbungsgraph azyklisch (siehe VRP)
See Also:
AbstractNamedHierarchical