com.ontotext.wsmo4j.ontology
Class ConceptImpl
java.lang.Object
com.ontotext.wsmo4j.common.EntityImpl
com.ontotext.wsmo4j.ontology.OntologyElementImpl
com.ontotext.wsmo4j.ontology.ConceptImpl
- All Implemented Interfaces:
- org.omwg.ontology.Concept, org.omwg.ontology.OntologyElement, org.omwg.ontology.Type, org.wsmo.common.Entity
public class ConceptImpl
- extends OntologyElementImpl
- implements org.omwg.ontology.Concept
| Methods inherited from interface org.omwg.ontology.OntologyElement |
getOntology, setOntology |
| Methods inherited from interface org.wsmo.common.Entity |
addNFPValue, addNFPValue, getIdentifier, listNFPValues, listNFPValues, removeNFP, removeNFPValue, removeNFPValue |
ConceptImpl
public ConceptImpl(org.wsmo.common.Identifier thisID,
WsmoFactoryImpl factory)
listSuperConcepts
public Set<org.omwg.ontology.Concept> listSuperConcepts()
throws org.wsmo.common.exception.SynchronisationException
- Specified by:
listSuperConcepts in interface org.omwg.ontology.Concept
- Throws:
org.wsmo.common.exception.SynchronisationException
addSuperConcept
public void addSuperConcept(org.omwg.ontology.Concept superConcept)
throws org.wsmo.common.exception.SynchronisationException,
org.wsmo.common.exception.InvalidModelException
- Specified by:
addSuperConcept in interface org.omwg.ontology.Concept
- Throws:
org.wsmo.common.exception.SynchronisationException
org.wsmo.common.exception.InvalidModelException
removeSuperConcept
public void removeSuperConcept(org.omwg.ontology.Concept superConcept)
throws org.wsmo.common.exception.SynchronisationException,
org.wsmo.common.exception.InvalidModelException
- Specified by:
removeSuperConcept in interface org.omwg.ontology.Concept
- Throws:
org.wsmo.common.exception.SynchronisationException
org.wsmo.common.exception.InvalidModelException
listSubConcepts
public Set<org.omwg.ontology.Concept> listSubConcepts()
throws org.wsmo.common.exception.SynchronisationException
- Specified by:
listSubConcepts in interface org.omwg.ontology.Concept
- Throws:
org.wsmo.common.exception.SynchronisationException
addSubConcept
public void addSubConcept(org.omwg.ontology.Concept subConcept)
throws org.wsmo.common.exception.SynchronisationException,
org.wsmo.common.exception.InvalidModelException
- Specified by:
addSubConcept in interface org.omwg.ontology.Concept
- Throws:
org.wsmo.common.exception.SynchronisationException
org.wsmo.common.exception.InvalidModelException
removeSubConcept
public void removeSubConcept(org.omwg.ontology.Concept subConcept)
throws org.wsmo.common.exception.SynchronisationException,
org.wsmo.common.exception.InvalidModelException
- Specified by:
removeSubConcept in interface org.omwg.ontology.Concept
- Throws:
org.wsmo.common.exception.SynchronisationException
org.wsmo.common.exception.InvalidModelException
listInstances
public Set<org.omwg.ontology.Instance> listInstances()
throws org.wsmo.common.exception.SynchronisationException
- Specified by:
listInstances in interface org.omwg.ontology.Concept
- Throws:
org.wsmo.common.exception.SynchronisationException
addInstance
public void addInstance(org.omwg.ontology.Instance instance)
throws org.wsmo.common.exception.SynchronisationException,
org.wsmo.common.exception.InvalidModelException
- Specified by:
addInstance in interface org.omwg.ontology.Concept
- Throws:
org.wsmo.common.exception.SynchronisationException
org.wsmo.common.exception.InvalidModelException
removeInstance
public void removeInstance(org.omwg.ontology.Instance instance)
throws org.wsmo.common.exception.SynchronisationException,
org.wsmo.common.exception.InvalidModelException
- Specified by:
removeInstance in interface org.omwg.ontology.Concept
- Throws:
org.wsmo.common.exception.SynchronisationException
org.wsmo.common.exception.InvalidModelException
listAttributes
public Set<org.omwg.ontology.Attribute> listAttributes()
throws org.wsmo.common.exception.SynchronisationException
- Specified by:
listAttributes in interface org.omwg.ontology.Concept
- Throws:
org.wsmo.common.exception.SynchronisationException
findAttributes
public Set<org.omwg.ontology.Attribute> findAttributes(org.wsmo.common.Identifier id)
throws org.wsmo.common.exception.SynchronisationException
- Specified by:
findAttributes in interface org.omwg.ontology.Concept
- Throws:
org.wsmo.common.exception.SynchronisationException
createAttribute
public org.omwg.ontology.Attribute createAttribute(org.wsmo.common.Identifier id)
throws org.wsmo.common.exception.InvalidModelException
- Specified by:
createAttribute in interface org.omwg.ontology.Concept
- Throws:
org.wsmo.common.exception.InvalidModelException
removeAttribute
public void removeAttribute(org.wsmo.common.Identifier identifier)
- Specified by:
removeAttribute in interface org.omwg.ontology.Concept
removeAttribute
public void removeAttribute(org.omwg.ontology.Attribute attribute)
throws org.wsmo.common.exception.SynchronisationException,
org.wsmo.common.exception.InvalidModelException
- Specified by:
removeAttribute in interface org.omwg.ontology.Concept
- Throws:
org.wsmo.common.exception.SynchronisationException
org.wsmo.common.exception.InvalidModelException
equals
public boolean equals(Object object)
- Overrides:
equals in class EntityImpl
Copyright © 2004-2008 Ontotext Lab.. All Rights Reserved.