de.jwg.dbis.rdf.rdfs3.storage.insert
Class RDF_Resource_p

java.lang.Object
  |
  +--de.jwg.dbis.rdf.rdfs3.storage.insert.Resource_p
        |
        +--de.jwg.dbis.rdf.rdfs3.storage.insert.RDF_Resource_p
Direct Known Subclasses:
RDF_Collection_p, RDF_Construct_Abstract, RDF_Statement_p

public class RDF_Resource_p
extends Resource_p

Description: Represents RDF resources that might have special rdf or rdfs properties like rdfs:comment, rdfs:label or rdf:type, ...

Version:
1.7
Author:
KarstenTolle

Constructor Summary
RDF_Resource_p(gr.forth.ics.vrp.corevrp.model.RDF_Resource r)
          Constructor for RDF_Resource_p.
RDF_Resource_p(java.lang.String uri)
          Constructor for RDF_Resource_p.
 
Method Summary
 void insertP(int s_id, int o_id, int p_id, int lit)
          A shortcut method to insert into a property table.
 void insertPOI(int id, int p_id, int t_id, int lit)
          To enter the related triples in the POI (point of interest) table.
 void insertPOI(int id, java.lang.String p, int t_id, int lit)
          To enter the related triples in the POI (point of interest) table.
 void insertPOI(int id, java.lang.String p, java.lang.String t_string)
          To enter the related triples in the POI (point of interest) table.
 
Methods inherited from class de.jwg.dbis.rdf.rdfs3.storage.insert.Resource_p
getDBID
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RDF_Resource_p

public RDF_Resource_p(gr.forth.ics.vrp.corevrp.model.RDF_Resource r)
Constructor for RDF_Resource_p.


RDF_Resource_p

public RDF_Resource_p(java.lang.String uri)
Constructor for RDF_Resource_p.

Parameters:
uri -
Method Detail

insertP

public void insertP(int s_id,
                    int o_id,
                    int p_id,
                    int lit)
A shortcut method to insert into a property table.

Parameters:
s_id - The subject id.
o_id - The object id.
Returns:
The result of the database insertion.

insertPOI

public void insertPOI(int id,
                      java.lang.String p,
                      int t_id,
                      int lit)
To enter the related triples in the POI (point of interest) table. This table represents redundant stored information for query performance improvements.

Parameters:
id - The subject id.
p - The property uri.
t_id - The object id.
Returns:
The result of the database insertion.

insertPOI

public void insertPOI(int id,
                      java.lang.String p,
                      java.lang.String t_string)
To enter the related triples in the POI (point of interest) table. This table represents redundant stored information for query performance improvements.

Parameters:
id - The subject id.
p - The property uri.
t_string - the tartget uri.
Returns:
The result of the database insertion.

insertPOI

public void insertPOI(int id,
                      int p_id,
                      int t_id,
                      int lit)
To enter the related triples in the POI (point of interest) table. This table represents redundant stored information for query performance improvements.

Parameters:
id - The subject id.
p_id - The property id.
t_id - The object id.
Returns:
The result of the database insertion.