org.eclipse.higgins.idas.model.impl
Class ContextModel
java.lang.Object
org.eclipse.higgins.idas.model.impl.ContextModel
- All Implemented Interfaces:
- org.eclipse.higgins.idas.api.model.IContextModel, org.eclipse.higgins.idas.api.model.IModel
- public class ContextModel
- extends Object
- implements org.eclipse.higgins.idas.api.model.IContextModel
|
Constructor Summary |
ContextModel(com.hp.hpl.jena.ontology.OntModel model,
URI baseURI)
|
ContextModel
public ContextModel(com.hp.hpl.jena.ontology.OntModel model,
URI baseURI)
throws org.eclipse.higgins.idas.api.IdASException
getModel
public org.eclipse.higgins.idas.api.model.IModel getModel(URI type)
- Specified by:
getModel in interface org.eclipse.higgins.idas.api.model.IContextModel
getEntityModel
public org.eclipse.higgins.idas.api.model.IEntityModel getEntityModel(URI entityType)
- Specified by:
getEntityModel in interface org.eclipse.higgins.idas.api.model.IContextModel
getEntityModels
public Iterator getEntityModels()
- Specified by:
getEntityModels in interface org.eclipse.higgins.idas.api.model.IContextModel
getType
public URI getType()
- Specified by:
getType in interface org.eclipse.higgins.idas.api.model.IModel
getOntModel
public com.hp.hpl.jena.ontology.OntModel getOntModel()
registerBlankEntityModel
public void registerBlankEntityModel(AttributeComplexValueModel bn)
registerEntity
public void registerEntity(EntityModel nm)
getEntitiesHash
public HashMap getEntitiesHash()
getComplexValueHash
public HashMap getComplexValueHash()
getTopEntityModel
public EntityModel getTopEntityModel()
getSchema
public String getSchema()
throws org.eclipse.higgins.idas.api.IdASException
- Throws:
org.eclipse.higgins.idas.api.IdASException
getPPIDAttribute
public AttributeModel getPPIDAttribute()
setPPIDAttribute
public void setPPIDAttribute(AttributeModel ppidOwner)
getHigginsVocabulary
public HigginsVocabulary getHigginsVocabulary()
getId
public String getId()
getAttributeModel
public org.eclipse.higgins.idas.api.model.IAttributeModel getAttributeModel(URI attrID)
- Specified by:
getAttributeModel in interface org.eclipse.higgins.idas.api.model.IContextModel
getAttributeModels
public Iterator getAttributeModels()
- Specified by:
getAttributeModels in interface org.eclipse.higgins.idas.api.model.IContextModel
getDisplayData
public org.eclipse.higgins.idas.api.model.IDisplayData getDisplayData()
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
getDisplayData in interface org.eclipse.higgins.idas.api.model.IModel
- Throws:
org.eclipse.higgins.idas.api.IdASException