org.deegree.record.persistence.genericrecordstore.generating
Class GenerateQueryableProperties
java.lang.Object
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 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenerateQueryableProperties
public GenerateQueryableProperties()
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 connectionstm - 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 -
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org]]>