edu.unika.aifb.kaon
Class AbstractNamedEntity

edu.unika.aifb.kaon.AbstractEntity
  |
  +--edu.unika.aifb.kaon.AbstractNamedEntity
Direct Known Subclasses:
AbstractNamedHierarchical, InstanceImpl, InstanceImpl

public abstract class AbstractNamedEntity
extends AbstractEntity
implements NamedEntity, ReferencedEntity

(c) Copyright 2001 Knowledge Management Group Institute AIFB University of Karlsruhe, Germany All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --- Class Name Class Description part of Simple Triple Store (SITRIS) http://ontoserver.aifb.uni-karlsruhe.de/sitris

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

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

Constructor Summary
AbstractNamedEntity()
          AbstractNamedEntity constructor comment.
AbstractNamedEntity(Ontology o)
          AbstractNamedEntity constructor comment.
AbstractNamedEntity(Ontology o, org.w3c.rdf.model.Resource uri)
          AbstractNamedEntity constructor comment.

Method Summary
 StringgetDocumentation(String lang)
           
 LexicalEntry[]getDocumentation()
           
 StringgetLabel(String lang)
           
 LexicalEntry[]getLabel()
           
 edu.unika.aifb.kaon.LexicalEntry[]getLexicalEntries()
           
 LexicalEntry[]getStems()
           
 LexicalEntry[]getSynonymsME()
           
 voidsetDocumentation(String lang, String value)
           
 voidsetLabel(String lang, String label)
           
 voidsetStems(String lang, String synonym)
          sets LexicalEntry Synonyms for Marc's Crawler
 voidsetSynonymsME(String lang, String synonym)
          sets LexicalEntry Synonyms for Marc's Crawler

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

Constructor Detail

AbstractNamedEntity

public AbstractNamedEntity()
AbstractNamedEntity constructor comment.

AbstractNamedEntity

public AbstractNamedEntity(Ontology o)
AbstractNamedEntity constructor comment.
Parameters:
o - edu.unika.aifb.kaon.Ontology

AbstractNamedEntity

public AbstractNamedEntity(Ontology o, org.w3c.rdf.model.Resource uri)
AbstractNamedEntity constructor comment.
Parameters:
o - edu.unika.aifb.kaon.Ontology
uri - org.w3c.rdf.model.Resource
Method Detail

getDocumentation

public String getDocumentation(String lang)
throws org.w3c.rdf.model.ModelException,
java.util.NoSuchElementException
See Also:
NamedEntity

getDocumentation

public LexicalEntry[] getDocumentation()
throws org.w3c.rdf.model.ModelException,
java.util.NoSuchElementException
See Also:
NamedEntity

getLabel

public String getLabel(String lang)
throws org.w3c.rdf.model.ModelException,
java.util.NoSuchElementException
See Also:
NamedEntity

getLabel

public LexicalEntry[] getLabel()
throws org.w3c.rdf.model.ModelException,
java.util.NoSuchElementException
See Also:
NamedEntity

getLexicalEntries

public edu.unika.aifb.kaon.LexicalEntry[] getLexicalEntries()
throws org.w3c.rdf.model.ModelException,
edu.unika.aifb.sitris.exception.NotSupportedException
See Also:
Entity

getStems

public LexicalEntry[] getStems()
throws org.w3c.rdf.model.ModelException,
java.util.NoSuchElementException
See Also:
NamedEntity

getSynonymsME

public LexicalEntry[] getSynonymsME()
throws org.w3c.rdf.model.ModelException,
java.util.NoSuchElementException
See Also:
NamedEntity

setDocumentation

public void setDocumentation(String lang, String value)
throws org.w3c.rdf.model.ModelException
See Also:
NamedEntity

setLabel

public void setLabel(String lang, String label)
throws org.w3c.rdf.model.ModelException
See Also:
NamedEntity

setStems

public void setStems(String lang, String synonym)
throws org.w3c.rdf.model.ModelException
sets LexicalEntry Synonyms for Marc's Crawler

setSynonymsME

public void setSynonymsME(String lang, String synonym)
throws org.w3c.rdf.model.ModelException
sets LexicalEntry Synonyms for Marc's Crawler