KickJava   Java API By Example, From Geeks To Geeks.

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


1 package com.daffodilwoods.daffodildb.server.sql99.dql.execution;
2
3 import com.daffodilwoods.database.resource.*;
4 import com.daffodilwoods.database.sqlinitiator.*;
5
6 /**
7  * It is used to maintain the order and the number of columns present in order.
8  * <p>Title: </p>
9  * <p>Description: </p>
10  * <p>Copyright: Copyright (c) 2003</p>
11  * <p>Company: </p>
12  * @author unascribed
13  * @usage Iterators.
14  * @version 1.0
15  */

16
17 public class OrderCount implements _OrderCount {
18
19    /**
20     * Represents the number of columns present in order.
21     */

22
23    private int orderCount;
24
25    /**
26     * Represents the order.
27     */

28
29    private _Order order;
30
31    public OrderCount(int orderCount0, _Order order0) {
32       orderCount = orderCount0;
33       order = order0;
34    }
35
36    /**
37     * Returns the number of columns present in order.
38     * @return
39     * @throws DException
40     */

41
42    public int getOrderCount() throws DException {
43       return orderCount;
44    }
45
46    /**
47     * Returns the order.
48     * @return
49     * @throws DException
50     */

51
52    public _Order getOrders() throws DException {
53       return order;
54    }
55 }
56
Popular Tags