|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
Represents a model of the context object as it defined in the context's ontology model. Since context's ontology model is defined in OWL DL format this interface is designed to simlify query and interpretation of the context's ontology model.
The URI returned by
IModel.getType() could be used to retrieve
an URL of the OWL ontology where this context's model is
defined.
IContext| Method Summary | |
|---|---|
IEntityModel |
getEntityModel(URI entityType)
Returns the IEntityModel for the specified entity type |
Iterator |
getEntityModels()
Returns IEntityModels for the entities
which are defined (allowed) in this context model. |
IModel |
getModel(URI type)
Generic method to query context model for any kind of element matching the specified type. |
| Methods inherited from interface org.eclipse.higgins.idas.api.model.IModel |
|---|
getDisplayData, getType |
| Method Detail |
public IModel getModel(URI type)
type. This could be the type of an entity,
attribute, metadata, etc.
type - the type of the entity for which to retrieve the model.
type
or null if no element corresponding to that type is defined
in this context model.public Iterator getEntityModels()
IEntityModels for the entities
which are defined (allowed) in this context model.
IEntityModelIContext.getEntity(String),
IContext.getEntities(IFilter)public IEntityModel getEntityModel(URI entityType)
entityType -
IEntityModel for the specified entity type
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||