|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--gr.forth.ics.rssdb.storage.DBResource
Defines the methods required for the persistent storage of an resource
| Constructor Summary | |
DBResource(gr.forth.ics.vrp.corevrp.model.Resource res,
DBStorage storage)
|
|
| Method Summary | |
abstract void |
deleteUnClassifiedResource()
Deletes the instantiation link between this Resource and the class rdfs:Resource. |
gr.forth.ics.vrp.corevrp.model.Resource |
getResourceReference()
Returns the reference of the VRP Resource object that is going to be stored in the DBMS. |
DBStorage |
getStorage()
Returns the storage reference. |
abstract boolean |
isDirectInstanceOf(int clsid)
Tests if the Resource has been directly classified in the class with id the method parameter clsid. |
abstract boolean |
isInstanceOf(int[] clslabel)
Tests if the Resource has been classifed in the class with id the method parameter clsid. |
abstract boolean |
isStoredClass()
Tests if the Resource has been stored in the database as a class. |
abstract boolean |
isStoredProperty()
Tests if the Resource has been stored in the database as a property. |
void |
setResourceReference(gr.forth.ics.vrp.corevrp.model.Resource res)
Sets the reference of the VRP Resource object that is going to be stored in the DBMS. |
void |
setStorage(DBStorage storage)
Sets the storage reference. |
abstract void |
store()
Stores, if it doesn't exist, an instantiation link between the Resource and the class rdfs:Resource. |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public DBResource(gr.forth.ics.vrp.corevrp.model.Resource res,
DBStorage storage)
| Method Detail |
public gr.forth.ics.vrp.corevrp.model.Resource getResourceReference()
public void setResourceReference(gr.forth.ics.vrp.corevrp.model.Resource res)
public DBStorage getStorage()
public void setStorage(DBStorage storage)
public abstract boolean isInstanceOf(int[] clslabel)
throws java.sql.SQLException
isInstanceOf in interface PersistentResource
public abstract boolean isDirectInstanceOf(int clsid)
throws java.sql.SQLException
isDirectInstanceOf in interface PersistentResource
public abstract boolean isStoredClass()
throws java.sql.SQLException
isStoredClass in interface PersistentResource
public abstract boolean isStoredProperty()
throws java.sql.SQLException
isStoredProperty in interface PersistentResource
public abstract void store()
throws java.sql.SQLException
store in interface PersistentResource
public abstract void deleteUnClassifiedResource()
throws java.sql.SQLException
deleteUnClassifiedResource in interface PersistentResource
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||