deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

org.deegree.record.persistence.genericrecordstore.generating
Class GenerateQueryableProperties

java.lang.Object
  extended by org.deegree.record.persistence.genericrecordstore.generating.GenerateQueryableProperties

public class GenerateQueryableProperties
extends Object

Here are all the queryable properties encapsulated which have to put into the backend. Here is the functionality of the INSERT and UPDATE action.

Version:
$Revision: $, $Date: $
Author:
Steffen Thomas, last edited by: $Author: thomas $

Constructor Summary
GenerateQueryableProperties()
           
 
Method Summary
 void executeQueryableProperties(boolean isUpdate, Connection connection, Statement stm, int operatesOnId, ParsedProfileElement parsedElement)
          Method that encapsulates the generating for all the queryable properties.
 int generateMainDatabaseDataset(Connection connection, Statement stm, ParsedProfileElement parsedElement)
          Generates and inserts the maindatabasetable that is needed for the queryable properties databasetables to derive from.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenerateQueryableProperties

public GenerateQueryableProperties()
Method Detail

generateMainDatabaseDataset

public int generateMainDatabaseDataset(Connection connection,
                                       Statement stm,
                                       ParsedProfileElement parsedElement)
Generates and inserts the maindatabasetable that is needed for the queryable properties databasetables to derive from.

BE AWARE: the "modified" attribute is get from the first position in the list. The backend has the possibility to add one such attribute. In the xsd-file there are more possible...

Parameters:
connection - the SQL connection
stm -
parsedElement -
Returns:
the primarykey of the inserted dataset which is the foreignkey for the queryable properties databasetables

executeQueryableProperties

public void executeQueryableProperties(boolean isUpdate,
                                       Connection connection,
                                       Statement stm,
                                       int operatesOnId,
                                       ParsedProfileElement parsedElement)
Method that encapsulates the generating for all the queryable properties.

Parameters:
isUpdate -
connection -
stm -
operatesOnId -
parsedElement -

deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org

]]>