|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
| Method Summary | |
|---|---|
void |
begin()
|
void |
commit()
|
com.hp.hpl.jena.ontology.DatatypeProperty |
getDatatypeProperty(String uri)
|
com.hp.hpl.jena.ontology.OntModel |
getModel()
return jena ontology model of the context |
String |
getNS()
return namespace of context |
com.hp.hpl.jena.ontology.ObjectProperty |
getObjectProperty(String uri)
|
com.hp.hpl.jena.ontology.OntClass |
getOntClass(String uri)
|
com.hp.hpl.jena.ontology.OntProperty |
getOntProperty(String uri)
|
String |
getSchemaURI()
|
void |
init(Properties props)
|
boolean |
isTransactionSupported()
|
void |
registerChangedSubject(DigitalSubject subj)
When some DigitalSubject was changed (its attribute/value/metadata was added/removed/changed) it should be registered using this method to be validated before saving the context by . |
void |
rollback()
|
void |
setValidationMode(boolean performValidation)
|
void |
unregisterChangedSubject(DigitalSubject subj)
When some DigitalSubject was removed it should be also removed from changed subjects list to prevent validation of non-existent subject |
| Methods inherited from interface org.eclipse.higgins.idas.api.IContext |
|---|
addRelationship, addSubject, addSubject, applyUpdates, buildAttribute, buildAttributeAssertion, buildAuthNAttributesMaterials, buildComplexAttrValue, buildCUIDAssertion, buildFilter, buildMetadataAssertion, buildRelationship, buildSimpleAttrValue, buildTypeAssertion, cancelUpdates, close, exportData, getContextModel, getContextRef, getModel, getRelationships, getSchema, getSubject, getSubject, getSubjects, getSubjects, importData, isOpen, open, setSchema, verifySubjectAttributes |
| Method Detail |
public com.hp.hpl.jena.ontology.OntModel getModel()
throws org.eclipse.higgins.idas.api.IdASException
org.eclipse.higgins.idas.api.IdASException - If the context is not open or its ontology model is not
initializedpublic String getNS()
public com.hp.hpl.jena.ontology.DatatypeProperty getDatatypeProperty(String uri)
throws org.eclipse.higgins.idas.api.IdASException
uri -
org.eclipse.higgins.idas.api.IdASException
public com.hp.hpl.jena.ontology.ObjectProperty getObjectProperty(String uri)
throws org.eclipse.higgins.idas.api.IdASException
uri -
org.eclipse.higgins.idas.api.IdASException
public com.hp.hpl.jena.ontology.OntProperty getOntProperty(String uri)
throws org.eclipse.higgins.idas.api.IdASException
uri -
org.eclipse.higgins.idas.api.IdASException
public com.hp.hpl.jena.ontology.OntClass getOntClass(String uri)
throws org.eclipse.higgins.idas.api.IdASException
uri -
org.eclipse.higgins.idas.api.IdASException
public void init(Properties props)
throws org.eclipse.higgins.idas.api.IdASException
props -
org.eclipse.higgins.idas.api.IdASException
public void begin()
throws org.eclipse.higgins.idas.api.IdASException
org.eclipse.higgins.idas.api.IdASException
public void commit()
throws org.eclipse.higgins.idas.api.IdASException
org.eclipse.higgins.idas.api.IdASException
public void rollback()
throws org.eclipse.higgins.idas.api.IdASException
org.eclipse.higgins.idas.api.IdASException
public boolean isTransactionSupported()
throws org.eclipse.higgins.idas.api.IdASException
org.eclipse.higgins.idas.api.IdASException
public String getSchemaURI()
throws org.eclipse.higgins.idas.api.IdASException
org.eclipse.higgins.idas.api.IdASExceptionpublic void registerChangedSubject(DigitalSubject subj)
subj - public void unregisterChangedSubject(DigitalSubject subj)
subj - public void setValidationMode(boolean performValidation)
performValidation - if true then all changed subjects should be validated
before saving of the context. Default value is true. In case of JDBC Context, if
RDBMS does not support transactions, validation will not be performed
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||