gr.forth.ics.rssdb.storage
Class DBRDFResource

java.lang.Object
  |
  +--gr.forth.ics.rssdb.storage.DBRDFResource
All Implemented Interfaces:
PersistentRDFResource
Direct Known Subclasses:
SpecReprRDFResource

public abstract class DBRDFResource
extends java.lang.Object
implements PersistentRDFResource

Defines the methods required for the persistent storage of an RDF Resource

Version:
2.0 (23 July 2003)
Author:
Sofia Alexaki

Constructor Summary
DBRDFResource(gr.forth.ics.vrp.corevrp.model.RDF_Resource rdf_res, DBStorage storage)
           
 
Method Summary
 gr.forth.ics.vrp.corevrp.model.RDF_Resource getRDFResourceReference()
          Returns the reference of the VRP RDF_Resource object that is going to be stored in the DBMS..
 DBStorage getStorage()
          Returns the storage reference.
 void setRDFResourceReference(gr.forth.ics.vrp.corevrp.model.RDF_Resource rdf_res)
          Sets the reference of the VRP RDF_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 classes RDF_Resource belongs in, according to RDF descriptions.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBRDFResource

public DBRDFResource(gr.forth.ics.vrp.corevrp.model.RDF_Resource rdf_res,
                     DBStorage storage)
Method Detail

getRDFResourceReference

public gr.forth.ics.vrp.corevrp.model.RDF_Resource getRDFResourceReference()
Returns the reference of the VRP RDF_Resource object that is going to be stored in the DBMS..

setRDFResourceReference

public void setRDFResourceReference(gr.forth.ics.vrp.corevrp.model.RDF_Resource rdf_res)
Sets the reference of the VRP RDF_Resource object that is going to be stored in the DBMS.

getStorage

public DBStorage getStorage()
Returns the storage reference.

setStorage

public void setStorage(DBStorage storage)
Sets the storage reference.

store

public abstract void store()
                    throws java.sql.SQLException
Stores, if it doesn't exist, an instantiation link between the Resource and the classes RDF_Resource belongs in, according to RDF descriptions.
Specified by:
store in interface PersistentRDFResource