|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IContextSchema
Represents a schema of the managed context object. Since context's schema is defined in OWL DL format this interface is designed to simlify query and interpretation of the context schema.
To retrieve this representation of the context schema
IContext.getContextSchema()
could be used.
The URI
returned by
IContextSchema.getType()
could be used to retrieve
an URL
of the OWL ontology where this context's schema
is defined.
IContext
Method Summary | |
---|---|
java.util.List<IAttributeSchema> |
getAttributes()
Returns the list of attributes which are defined (allowed) in this context schema. |
ISchema |
getSchema(java.net.URI type)
Generic method to query context schema for schema of the subject with the specific type . |
java.util.List<IDigitalSubjectSchema> |
getSubjects()
Returns the list of digital subjects which are defined (allowed) in this context schema. |
Methods inherited from interface org.eclipse.higgins.idas.schema.ISchema |
---|
getDisplayData, getType |
Method Detail |
---|
ISchema getSchema(java.net.URI type)
type
. Returns the schema of the subject with the
specific type
passed as a parameter or null
if subject with corresponding type is not defined in this context schema.
type
- the type of the subject for wich to retrieve the schema.
null
.java.util.List<IAttributeSchema> getAttributes()
java.util.List<IDigitalSubjectSchema> getSubjects()
IContext#getSubject(String)
,
IContext#getSubjects(String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |