|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IContextModel
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 |
List |
getEntityModels()
|
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 |
|---|
getShortFormType, getType |
| Methods inherited from interface org.eclipse.higgins.idas.api.model.IHasAttributeModel |
|---|
getAttributeModel, getAttributeModels, getInheritedAttributeModels, getMaxCardinality, getMinCardinality, getOwnAttributeModels |
| Method Detail |
|---|
IModel getModel(URI type)
throws IdASModelException
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.
IdASModelException
List getEntityModels()
throws IdASModelException
IdASModelException
IEntityModel getEntityModel(URI entityType)
throws IdASModelException
entityType -
IEntityModel for the specified entity type
IdASModelException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||