KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > h2 > command > ddl > SchemaCommand


1 /*
2  * Copyright 2004-2006 H2 Group. Licensed under the H2 License, Version 1.0 (http://h2database.com/html/license.html).
3  * Initial Developer: H2 Group
4  */

5 package org.h2.command.ddl;
6
7 import java.sql.SQLException JavaDoc;
8
9 import org.h2.engine.Session;
10 import org.h2.schema.Schema;
11
12 public abstract class SchemaCommand extends DefineCommand {
13     
14     private Schema schema;
15     
16     public SchemaCommand(Session session, Schema schema) {
17         super(session);
18         this.schema = schema;
19     }
20
21     protected Schema getSchema() throws SQLException JavaDoc {
22         return schema;
23     }
24     
25 }
26
Popular Tags