|
||||||||||||
| 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
IContextSchema.getType() could be used to retrieve
an URL of the OWL ontology where this context's model is
defined.
IContext| Field Summary | |
|---|---|
static String |
C_ATT_URI
|
static String |
C_COMP_ATT_URI
|
static String |
C_DD_URI
|
static String |
C_DS_URI
|
static String |
C_SIMP_ATT_URI
|
static String |
DD_BASE_URI
|
static String |
IDAS_BASE_URI
|
static String |
P_ATT_URI
|
static String |
P_DD_DESC_URI
|
static String |
P_DD_IMAGE_URI
|
static String |
P_DD_LABEL_URI
|
static String |
P_DD_ORDER_URI
|
static String |
P_DD_URI
|
| Method Summary | |
|---|---|
IModel |
getModel(URI type)
Generic method to query context model for model of the subject with the specific type. |
IDigitalSubjectModel |
getSubjectModel(URI type)
Returns the IDigitalSubjectModel for the specified subject type |
Iterator |
getSubjectModels()
Returns IDigitalSubjectModels for the digital subjects which are defined (allowed) in this context model. |
| Methods inherited from interface org.eclipse.higgins.idas.api.model.IModel |
|---|
getDisplayData, getType |
| Field Detail |
public static final String IDAS_BASE_URI
public static final String C_DS_URI
public static final String C_ATT_URI
public static final String C_SIMP_ATT_URI
public static final String C_COMP_ATT_URI
public static final String P_ATT_URI
public static final String DD_BASE_URI
public static final String C_DD_URI
public static final String P_DD_URI
public static final String P_DD_LABEL_URI
public static final String P_DD_DESC_URI
public static final String P_DD_ORDER_URI
public static final String P_DD_IMAGE_URI
| Method Detail |
public IModel getModel(URI type)
type. Returns the model of the subject with the
specific type passed as a parameter or null
if subject with corresponding type is not defined in this context model.
type - the type of the subject for wich to retrieve the model.
null.public Iterator getSubjectModels()
IDigitalSubjectModelIContext#getSubject(String),
IContext#getSubjects(IFilter)public IDigitalSubjectModel getSubjectModel(URI type)
type -
IDigitalSubjectModel for the specified subject type
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||