01: /**
02: * Objective Database Abstraction Layer (ODAL)
03: * Copyright (c) 2004, The ODAL Development Group
04: * All rights reserved.
05: * For definition of the ODAL Development Group please refer to LICENCE.txt file
06: *
07: * Distributable under LGPL license.
08: * See terms of license at gnu.org.
09: */package com.completex.objective.components.persistency;
10:
11: import com.completex.objective.components.persistency.core.DatabasePolicy;
12:
13: /**
14: * @author Gennady Krizhevsky
15: */
16: public interface QueryFactoryCtl {
17: /**
18: * Returns <code>DatabasePolicy</code> used
19: *
20: * @return <code>DatabasePolicy</code> used
21: */
22: DatabasePolicy getDatabasePolicy();
23:
24: /**
25: * Returns <code>Persistency</code> used
26: *
27: * @return <code>Persistency</code> used
28: */
29: Persistency getPersistency();
30:
31: /**
32: * Returns <code>SelectQueryBuilder</code> used
33: *
34: * @see SelectQueryBuilder
35: * @return <code>SelectQueryBuilder</code> used
36: */
37: SelectQueryBuilder getQueryBuilder();
38: }
|