KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > daffodilwoods > daffodildb > server > sql99 > dql > tableexpression > fromclause > outerjointypeOptSRESERVEDWORD1206543922


1 package com.daffodilwoods.daffodildb.server.sql99.dql.tableexpression.fromclause;
2
3 import com.daffodilwoods.daffodildb.server.sql99.token.*;
4 import com.daffodilwoods.database.resource.*;
5
6 /**
7  * Join are of two type.It will be either of type inner and outer.This class repersents
8  * outerjointype which will be either Left|Right|Full with optional attribute OUTER
9  * i.e. outerjointype[Outer]
10  * <p>Title: </p>
11  * <p>Description: </p>
12  * <p>Copyright: Copyright (c) 2004</p>
13  * <p>Company: </p>
14  * @author not attributable
15  * @version 1.0
16  */

17 public class outerjointypeOptSRESERVEDWORD1206543922 implements com.daffodilwoods.daffodildb.utils.parser.StatementExecuter, jointype {
18   /**
19    * It represents optional attribute 'Outer',which is given with outerjointype
20    */

21   public SRESERVEDWORD1206543922 _OptSRESERVEDWORD12065439220;
22   /**
23    * It reperesents outerjointype which will be either Left|Right|Full.
24    */

25   public outerjointype _outerjointype1;
26
27    public Object JavaDoc run(Object JavaDoc object) throws DException {
28       String JavaDoc outerJoinType = (String JavaDoc) _outerjointype1.run(null);
29       if (_OptSRESERVEDWORD12065439220 != null) {
30          outerJoinType += (String JavaDoc) _OptSRESERVEDWORD12065439220.run(null);
31       }
32       return outerJoinType;
33    }
34
35    public String JavaDoc toString() {
36       StringBuffer JavaDoc sb = new StringBuffer JavaDoc();
37       sb.append(" ");
38       sb.append(_outerjointype1);
39       sb.append(" ");
40       if (_OptSRESERVEDWORD12065439220 != null) {
41          sb.append(_OptSRESERVEDWORD12065439220);
42       }
43       return sb.toString();
44    }
45
46    public Object JavaDoc clone() throws CloneNotSupportedException JavaDoc {
47       outerjointypeOptSRESERVEDWORD1206543922 tempClass = new outerjointypeOptSRESERVEDWORD1206543922();
48       if (_OptSRESERVEDWORD12065439220 != null) {
49          tempClass._OptSRESERVEDWORD12065439220 = (SRESERVEDWORD1206543922) _OptSRESERVEDWORD12065439220.clone();
50       }
51       tempClass._outerjointype1 = (outerjointype) _outerjointype1.clone();
52       return tempClass;
53    }
54
55 }
56
Popular Tags