KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > daffodilwoods > daffodildb > server > sql99 > dml > contextuallytypedtablevalueconstructor


1 package com.daffodilwoods.daffodildb.server.sql99.dml;
2
3 import com.daffodilwoods.daffodildb.server.serversystem.*;
4 import com.daffodilwoods.daffodildb.server.sql99.common.*;
5 import com.daffodilwoods.daffodildb.server.sql99.token.*;
6 import com.daffodilwoods.daffodildb.server.sql99.utils.*;
7 import com.daffodilwoods.database.resource.*;
8 import java.util.*;
9
10 public class contextuallytypedtablevalueconstructor implements com.daffodilwoods.daffodildb.utils.parser.StatementExecuter {
11    public contextuallytypedrowvalueexpressionlist _contextuallytypedrowvalueexpressionlist0;
12    public SRESERVEDWORD1206543922 _SRESERVEDWORD12065439221;
13
14    private ColumnDetails[] columnDetails;
15
16    /**
17     * This method Calls the run method of Expression List set in this class.
18     * @param object
19     * @return Object
20     * @throws com.daffodilwoods.database.resource.DException
21     */

22
23    public Object JavaDoc run(Object JavaDoc object) throws com.daffodilwoods.database.resource.DException {
24       return _contextuallytypedrowvalueexpressionlist0.run(object);
25    }
26
27    /**
28     * This method returns the parameters of Expression List set in this class.
29     * @param object
30     * @return Object[]
31     * @throws DException
32     */

33
34    public Object JavaDoc[] getParameters(Object JavaDoc object) throws DException {
35       return _contextuallytypedrowvalueexpressionlist0.getParameters(object);
36    }
37
38    /**
39     * This method returns the columnDetails of Expression List set in this class.
40     * @return ColumnDetails[]
41     * @throws DException
42     */

43
44    public ColumnDetails[] getColumnDetails() throws DException {
45       if (columnDetails == null) {
46          columnDetails = _contextuallytypedrowvalueexpressionlist0.getColumnDetails();
47       }
48       return columnDetails;
49    }
50
51    /**
52     * This method is for performing the syntax checking of the Expression List set in this class.
53     * @param object
54     * @throws DException
55     */

56
57    public _Reference[] checkSemantic(_ServerSession object) throws DException {
58       return _contextuallytypedrowvalueexpressionlist0.checkSemantic(object);
59    }
60
61    /**
62     * This method is for checing the cardinality of the expression list set in this class.
63     * @return
64     * @throws DException
65     */

66
67    public int getCardinality() throws DException {
68       int cardin = _contextuallytypedrowvalueexpressionlist0.getCardinality();
69       return cardin;
70    }
71
72    /**
73     * This method returns the parameter info of the expression list set in this class.
74     * @return
75     * @throws DException
76     */

77
78    public ParameterInfo[] getParameterInfo() throws DException {
79       return _contextuallytypedrowvalueexpressionlist0.getParameterInfo();
80    }
81
82    /**
83     * This method returns a clone of self instance by making all the required instantiations.
84     * @return Contextuallytypedtablevalueconstructor
85     * @throws CloneNotSupportedException
86     */

87
88    /**
89     * This method returns a String which in turn calls all the toString methods of elements involved.
90     * @return String
91     */

92
93    public _Reference[] getReferences(TableDetails[] td) throws DException {
94       return (_Reference[]) _contextuallytypedrowvalueexpressionlist0.getReferences(td);
95    }
96
97    public Object JavaDoc clone() throws CloneNotSupportedException JavaDoc {
98       return this;
99    }
100
101    public String JavaDoc toString() {
102       StringBuffer JavaDoc sb = new StringBuffer JavaDoc();
103       sb.append(" ");
104       sb.append(_SRESERVEDWORD12065439221);
105       sb.append(" ");
106       sb.append(_contextuallytypedrowvalueexpressionlist0);
107       return sb.toString();
108    }
109
110    public void getTablesIncluded(ArrayList arrayList) throws DException{
111     _contextuallytypedrowvalueexpressionlist0.getTablesIncluded(arrayList);
112   }
113
114
115 }
116
Popular Tags