KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > teamkonzept > webman > mainint > db > queries > content > SelectIsChild


1 package com.teamkonzept.webman.mainint.db.queries.content;
2
3 import java.sql.Connection JavaDoc;
4 import com.teamkonzept.db.*;
5
6 /**
7  *
8  * @author
9  * @version
10  */

11
12 public class SelectIsChild extends TKPrepQuery
13 {
14
15     public final static boolean PREPARED = true;
16     public final static String JavaDoc[] ORDER = { "IS_CHILD" };
17     public final static Object JavaDoc[][] TYPES = null;
18     public final static boolean[] RELEVANTS = { true };
19
20     public final static String JavaDoc SQLSTRING = "SELECT ? AS ISCHILD " + DBStringFactory.getFromSystem();
21
22     public void initQuery(Connection JavaDoc con) {
23         super.initQuery(
24             con,
25             PREPARED,
26             ORDER,
27             TYPES,
28             RELEVANTS,
29             SQLSTRING );
30     }
31
32 }
33
Popular Tags