gr.forth.ics.rssdb.rdfstorageinterface
Interface PersistentRDFClass

All Known Implementing Classes:
DBRDFClass, SpecReprRDFClass, SpecReprVar1RDFClass

public interface PersistentRDFClass

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

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

Method Summary
 boolean checkStoredSubClass()
          Tests if the superclasses of the RDF class are identical to those stored in DBMS for this RDF class.
 int store(DBValidator dbv)
          Stores an instantiation link between the RDF class and the class rdfs:Class and stores the rdfs:subClassOf links defined on the RDF class.
 void storeClass(DBValidator dbv)
          Stores an instantiation link between the RDF class and the class rdfs:Class.
 void storeRDFSInstantiationDescriptions()
          Stores the instantiation links and the links of predefined RDFS properties that are defined on the RDF class .
 void storeSubClass()
          Stores the rdfs:subClassOf links that are defined on the RDF class.
 

Method Detail

storeClass

public void storeClass(DBValidator dbv)
                throws java.sql.SQLException
Stores an instantiation link between the RDF class and the class rdfs:Class.

storeRDFSInstantiationDescriptions

public void storeRDFSInstantiationDescriptions()
                                        throws java.sql.SQLException
Stores the instantiation links and the links of predefined RDFS properties that are defined on the RDF class .

storeSubClass

public void storeSubClass()
                   throws java.sql.SQLException
Stores the rdfs:subClassOf links that are defined on the RDF class.

checkStoredSubClass

public boolean checkStoredSubClass()
                            throws java.sql.SQLException
Tests if the superclasses of the RDF class are identical to those stored in DBMS for this RDF class.

store

public int store(DBValidator dbv)
          throws java.sql.SQLException
Stores an instantiation link between the RDF class and the class rdfs:Class and stores the rdfs:subClassOf links defined on the RDF class.