01: /*
02: * Copyright 2004-2008 H2 Group. Licensed under the H2 License, Version 1.0
03: * (http://h2database.com/html/license.html).
04: * Initial Developer: H2 Group
05: */
06: package org.h2.engine;
07:
08: import org.h2.command.Prepared;
09:
10: /**
11: * Represents a procedure. Procedures are implemented for PostgreSQL
12: * compatibility.
13: */
14: public class Procedure {
15:
16: private final String name;
17: private final Prepared prepared;
18:
19: public Procedure(String name, Prepared prepared) {
20: this .name = name;
21: this .prepared = prepared;
22: }
23:
24: public String getName() {
25: return name;
26: }
27:
28: public Prepared getPrepared() {
29: return prepared;
30: }
31:
32: }
|