01: /*
02: * Copyright (C) 1999-2004 <a href="mailto:mandarax@jbdietrich.com">Jens Dietrich</a>
03: *
04: * This library is free software; you can redistribute it and/or
05: * modify it under the terms of the GNU Lesser General Public
06: * License as published by the Free Software Foundation; either
07: * version 2 of the License, or (at your option) any later version.
08: *
09: * This library is distributed in the hope that it will be useful,
10: * but WITHOUT ANY WARRANTY; without even the implied warranty of
11: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12: * Lesser General Public License for more details.
13: *
14: * You should have received a copy of the GNU Lesser General Public
15: * License along with this library; if not, write to the Free Software
16: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17: */
18:
19: package org.mandarax.jdbc.server.sql;
20:
21: import java.util.Map;
22:
23: /**
24: * Represents the SQL FROM clause.
25: * @author <A HREF="mailto:mandarax@jbdietrich.com">Jens Dietrich</A>
26: * @version 3.3.2 <29 December 2004>
27: * @since 3.0
28: */
29:
30: public abstract class FromClause extends SQLObject {
31: private SelectStatement owner = null;
32:
33: /**
34: * Constructor.
35: */
36: public FromClause() {
37: super ();
38: }
39:
40: /**
41: * @return SelectStatement
42: */
43: public SelectStatement getOwner() {
44: return owner;
45: }
46:
47: /**
48: * Sets the owner.
49: * @param owner The owner to set
50: */
51: void setOwner(SelectStatement owner) {
52: this .owner = owner;
53: }
54:
55: /**
56: * Normalize the object.
57: * @param typesByColumn associations between column names and (SQL) types
58: */
59: public void normalize(Map typesByColumn) {
60: // nothing to do here
61: }
62:
63: }
|