org.eclipse.higgins.idas.model.impl
Class ContextModel

java.lang.Object
  extended byorg.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)
           
 
Method Summary
 org.eclipse.higgins.idas.api.model.IAttributeModel getAttributeModel(URI attrID)
           
 Iterator getAttributeModels()
           
 HashMap getComplexValueHash()
           
 org.eclipse.higgins.idas.api.model.IDisplayData getDisplayData()
           
 HashMap getEntitiesHash()
           
 org.eclipse.higgins.idas.api.model.IEntityModel getEntityModel(URI entityType)
           
 Iterator getEntityModels()
           
 HigginsVocabulary getHigginsVocabulary()
           
 String getId()
           
 org.eclipse.higgins.idas.api.model.IModel getModel(URI type)
           
 com.hp.hpl.jena.ontology.OntModel getOntModel()
           
 AttributeModel getPPIDAttribute()
           
 String getSchema()
           
 EntityModel getTopEntityModel()
           
 URI getType()
           
 void registerBlankEntityModel(AttributeComplexValueModel bn)
           
 void registerEntity(EntityModel nm)
           
 void setPPIDAttribute(AttributeModel ppidOwner)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextModel

public ContextModel(com.hp.hpl.jena.ontology.OntModel model,
                    URI baseURI)
             throws org.eclipse.higgins.idas.api.IdASException
Method Detail

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