fr.inrialpes.exmo.aroma.ontology.entities
Class AEntityImpl
java.lang.Object
fr.inrialpes.exmo.ontosim.entity.model.EntityImpl
fr.inrialpes.exmo.aroma.ontology.entities.AEntityImpl
- All Implemented Interfaces:
- AEntity, fr.inrialpes.exmo.ontosim.entity.model.Entity
public class AEntityImpl
- extends fr.inrialpes.exmo.ontosim.entity.model.EntityImpl
- implements AEntity
Constructor Summary |
AEntityImpl(fr.inrialpes.exmo.ontowrap.LoadedOntology<?> ont,
Object e)
|
Methods inherited from class fr.inrialpes.exmo.ontosim.entity.model.EntityImpl |
getAnnotations, getComments, getLabels, getObject, getOntology, getURI, isClass, isDataProperty, isIndividual, isObjectProperty, isProperty |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface fr.inrialpes.exmo.ontosim.entity.model.Entity |
getAnnotations, getComments, getLabels, getObject, getOntology, getURI, isClass, isDataProperty, isIndividual, isObjectProperty, isProperty |
parents
protected Set<AEntity> parents
children
protected Set<AEntity> children
ascendants
private Set<AEntity> ascendants
descendants
private Set<AEntity> descendants
terms
private Set<String> terms
AEntityImpl
public AEntityImpl(fr.inrialpes.exmo.ontowrap.LoadedOntology<?> ont,
Object e)
getTerms
public Set<String> getTerms()
- Specified by:
getTerms
in interface AEntity
getNbCommonTerms
public int getNbCommonTerms(AEntity e)
- Specified by:
getNbCommonTerms
in interface AEntity
getNbTerms
public int getNbTerms()
- Specified by:
getNbTerms
in interface AEntity
containTerm
public boolean containTerm(String s)
- Specified by:
containTerm
in interface AEntity
addTerm
public void addTerm(String t)
- Specified by:
addTerm
in interface AEntity
addTerms
public void addTerms(Set<String> s)
- Specified by:
addTerms
in interface AEntity
retainTerms
public void retainTerms(AEntity e)
- Specified by:
retainTerms
in interface AEntity
getSubEntities
public Set<AEntity> getSubEntities(boolean direct)
- Specified by:
getSubEntities
in interface AEntity
getSuperEntities
public Set<AEntity> getSuperEntities(boolean direct)
- Specified by:
getSuperEntities
in interface AEntity
isAncestorOf
public boolean isAncestorOf(AEntity e)
- Specified by:
isAncestorOf
in interface AEntity
isDescendantOf
public boolean isDescendantOf(AEntity e)
- Specified by:
isDescendantOf
in interface AEntity
addParent
public boolean addParent(AEntity e)
- Specified by:
addParent
in interface AEntity
addChild
public boolean addChild(AEntity e)
- Specified by:
addChild
in interface AEntity
getRoot
public AEntity getRoot()
- Specified by:
getRoot
in interface AEntity
addTerms
public void addTerms(AEntity e)
- Specified by:
addTerms
in interface AEntity
freeTerms
public void freeTerms()
- Specified by:
freeTerms
in interface AEntity
getAnnotationsL
public Set<fr.inrialpes.exmo.ontowrap.Annotation> getAnnotationsL()
throws fr.inrialpes.exmo.ontowrap.OntowrapException
- Specified by:
getAnnotationsL
in interface AEntity
- Throws:
fr.inrialpes.exmo.ontowrap.OntowrapException
(C) Universite Pierre-Mendes-France, INRIA & Universite de Nantes 2006-2009