edu.unika.aifb.kaon.daml
Class InstanceImpl

edu.unika.aifb.kaon.AbstractEntity
  |
  +--edu.unika.aifb.kaon.AbstractNamedEntity
        |
        +--edu.unika.aifb.kaon.daml.InstanceImpl

public class InstanceImpl
extends AbstractNamedEntity
implements Instance


Method Summary
 voidaddValue(Relation rel, RDFNode value)
           
 Instance[]getAllAssociations()
           
 Instance[]getAllAssociationsME()
           
 Literal[]getAllAttributes()
           
 Literal[]getAllAttributesME()
           
 ConceptgetConcept()
           
 ResourcegetIdentifier()
           
 OntologygetOntology()
           
 RDFNodegetValue(Relation rel)
           
 CollectiongetValues(Relation rel)
           
 inthashCode()
           
 booleanhasValue(Relation rel)
           
 booleanisValid()
           
 voidremoveValues(Relation rel)
           
 voidsetValue(Relation rel, RDFNode value)
           
 StringtoString()
           

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, setIdentifier, setOntology

Method Detail

addValue

public void addValue(Relation rel, RDFNode value)
throws org.w3c.rdf.model.ModelException,
edu.unika.aifb.sitris.exception.NotSupportedException,
java.util.NoSuchElementException

getAllAssociations

public Instance[] getAllAssociations()
throws org.w3c.rdf.model.ModelException,
edu.unika.aifb.sitris.exception.NotSupportedException

getAllAssociationsME

public Instance[] getAllAssociationsME()
throws org.w3c.rdf.model.ModelException,
edu.unika.aifb.sitris.exception.NotSupportedException
Returns: all attribute values of this instance including multiple results

getAllAttributes

public Literal[] getAllAttributes()
throws org.w3c.rdf.model.ModelException,
edu.unika.aifb.sitris.exception.NotSupportedException

getAllAttributesME

public Literal[] getAllAttributesME()
throws org.w3c.rdf.model.ModelException,
edu.unika.aifb.sitris.exception.NotSupportedException
Returns: all attributes values of this instance including multiple results

getConcept

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

getIdentifier

public Resource getIdentifier()

getOntology

public Ontology getOntology()

getValue

public RDFNode getValue(Relation rel)
throws java.util.NoSuchElementException,
org.w3c.rdf.model.ModelException

getValues

public Collection getValues(Relation rel)
throws java.util.NoSuchElementException,
org.w3c.rdf.model.ModelException

hashCode

public int hashCode()

hasValue

public boolean hasValue(Relation rel)
throws org.w3c.rdf.model.ModelException

isValid

public boolean isValid()
throws org.w3c.rdf.model.ModelException,
edu.unika.aifb.sitris.exception.NotSupportedException
See Also:
Instance

removeValues

public void removeValues(Relation rel)
throws java.util.NoSuchElementException,
org.w3c.rdf.model.ModelException

setValue

public void setValue(Relation rel, RDFNode value)
throws org.w3c.rdf.model.ModelException,
edu.unika.aifb.sitris.exception.NotSupportedException,
java.util.NoSuchElementException

toString

public String toString()