edu.unika.aifb.kaon
Class InstanceImpl

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

public class InstanceImpl
extends AbstractNamedEntity
implements Instance


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

Method Summary
 voidaddValue(Relation rel, org.w3c.rdf.model.RDFNode value)
          TO DO - Transactions
 Instance[]getAllAssociations()
           
 Instance[]getAllAssociationsME()
           
 org.w3c.rdf.model.Literal[]getAllAttributes()
           
 org.w3c.rdf.model.Literal[]getAllAttributesME()
           
 ConceptgetConcept()
           
 org.w3c.rdf.model.RDFNodegetValue(Relation rel)
           
 CollectiongetValues(Relation rel)
           
 booleanhasValue(Relation rel)
           
 booleanisValid()
           
 voidremoveValues(Relation rel)
          Remove all values of the specified Relation
 voidsetValue(Relation rel, org.w3c.rdf.model.RDFNode value)
          TO DO - Transactions

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

addValue

public void addValue(Relation rel, org.w3c.rdf.model.RDFNode value)
throws edu.unika.aifb.sitris.exception.NotSupportedException,
org.w3c.rdf.model.ModelException,
java.util.NoSuchElementException
TO DO - Transactions
See Also:
Instance

getAllAssociations

public Instance[] getAllAssociations()
throws org.w3c.rdf.model.ModelException,
edu.unika.aifb.sitris.exception.NotSupportedException
Returns: all associations values of this instance

getAllAssociationsME

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

getAllAttributes

public org.w3c.rdf.model.Literal[] getAllAttributes()
throws org.w3c.rdf.model.ModelException,
edu.unika.aifb.sitris.exception.NotSupportedException
Returns: all Attribute values of this Instance

getAllAttributesME

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

getConcept

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

getValue

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

getValues

public Collection getValues(Relation rel)
throws java.util.NoSuchElementException,
org.w3c.rdf.model.ModelException
Parameters:
rel - edu.unika.aifb.kaon.Relation
Returns: Collection All Values of the specified Relation

hasValue

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

isValid

public boolean isValid()
See Also:
Instance

removeValues

public void removeValues(Relation rel)
throws java.util.NoSuchElementException,
org.w3c.rdf.model.ModelException
Remove all values of the specified Relation
Parameters:
rel - edu.unika.aifb.kaon.Relation

setValue

public void setValue(Relation rel, org.w3c.rdf.model.RDFNode value)
throws edu.unika.aifb.sitris.exception.NotSupportedException,
org.w3c.rdf.model.ModelException,
java.util.NoSuchElementException
TO DO - Transactions
See Also:
Instance