KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > daffodilwoods > daffodildb > server > sql99 > dql > execution > _DatedFramework


1 package com.daffodilwoods.daffodildb.server.sql99.dql.execution;
2
3 import com.daffodilwoods.daffodildb.server.sql99.common.*;
4 import com.daffodilwoods.daffodildb.server.sql99.expression.booleanvalueexpression.*;
5 import com.daffodilwoods.daffodildb.server.sql99.expression.datetimevalueexpression.*;
6 import com.daffodilwoods.database.resource.*;
7
8 /**
9  * _DatedFramework represents the dated condition for a single table. Dated
10  * condition is "from > first and to < second" where 'from' and 'to' are the
11  * columns of the table. first and second represents the first date time
12  * value expression and second date time value expression resp.
13  * <p>Title: </p>
14  * <p>Description: </p>
15  * <p>Copyright: Copyright (c) 2003</p>
16  * <p>Company: </p>
17  * @author unascribed
18  * @version 1.0
19  */

20
21 public interface _DatedFramework extends Cloneable JavaDoc{
22
23    /**
24     * This method is required to identify the table to which this dated framework
25     * belongs to.
26     * @return TableDetails of the dated condition.
27     * @throws DException
28     */

29
30     public TableDetails getTableDetails() throws DException;
31
32     /**
33      * This is required to get the dated condition.
34      * @return dated condition represented by this dated framework.
35      * @throws DException
36      */

37
38     public booleanvalueexpression getDatedCondition() throws DException;
39
40     /**
41      * This is required in checking of data modification when it is done through
42      * the result set taken on the Select query in which this dated condition is
43      * present.
44      * @return datetimevalueexpression
45      * @throws DException
46      */

47
48     public datetimevalueexpression getDateTimeValueExpressionForInsertionDeletion() throws DException ;
49
50     /**
51      * This is required when clone of whole query is needed.
52      * @return copy or clone of the dated framework
53      * @throws CloneNotSupportedException
54      */

55
56     public Object JavaDoc clone() throws CloneNotSupportedException JavaDoc;
57 }
58
Popular Tags