File D:\maven-qcr-plugin-testsunitaires\qcr4java\h2-1.3.170-sources\target\site\qc\lecode\engine\Procedure.java.html

1 /*
2 * Copyright 2004-2011 H2 Group. Multiple-Licensed under the H2 License,
3 * Version 1.0, and under the Eclipse Public License, Version 1.0
4 * (http://h2database.com/html/license.html).
5 * Initial Developer: H2 Group
6 */
7 package org.h2.engine;
8
9 import org.h2.command.Prepared;
10
11 /**
12 * Represents a procedure. Procedures are implemented for PostgreSQL
13 * compatibility.
14 */
15 public class Procedure {
16
17 private final String name;
18 private final Prepared prepared;
19
20 public Procedure(String name, Prepared prepared) {
21 this.name = name;
22 this.prepared = prepared;
23 }
24
25 public String getName() {
26 return name;
27 }
28
29 public Prepared getPrepared() {
30 return prepared;
31 }
32
33 }
34