summaryrefslogtreecommitdiff
path: root/java/sql/Ref.java
diff options
context:
space:
mode:
authorAaron M. Renn <arenn@urbanophile.com>1999-01-17 20:39:11 +0000
committerAaron M. Renn <arenn@urbanophile.com>1999-01-17 20:39:11 +0000
commitf8ef12439c28831e6d0f75a551c0c746df627b08 (patch)
treebcde7d415a4367a2caabb30c80396d01e4223b13 /java/sql/Ref.java
parentd94196e6763b826dbf892838d70be8a01ef97d92 (diff)
downloadclasspath-f8ef12439c28831e6d0f75a551c0c746df627b08.tar.gz
Initial Checkin
Diffstat (limited to 'java/sql/Ref.java')
-rw-r--r--java/sql/Ref.java45
1 files changed, 45 insertions, 0 deletions
diff --git a/java/sql/Ref.java b/java/sql/Ref.java
new file mode 100644
index 000000000..b4d6d0eb8
--- /dev/null
+++ b/java/sql/Ref.java
@@ -0,0 +1,45 @@
+/*************************************************************************
+/* Ref.java -- Reference to a SQL structured type.
+/*
+/* Copyright (c) 1999 Free Software Foundation, Inc.
+/* Written by Aaron M. Renn (arenn@urbanophile.com)
+/*
+/* This library is free software; you can redistribute it and/or modify
+/* it under the terms of the GNU Library General Public License as published
+/* by the Free Software Foundation, either version 2 of the License, or
+/* (at your option) any later verion.
+/*
+/* This library is distributed in the hope that it will be useful, but
+/* WITHOUT ANY WARRANTY; without even the implied warranty of
+/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+/* GNU Library General Public License for more details.
+/*
+/* You should have received a copy of the GNU Library General Public License
+/* along with this library; if not, write to the Free Software Foundation
+/* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307 USA
+/*************************************************************************/
+
+package java.sql;
+
+/**
+ * This interface provides a mechanism for obtaining information about
+ * a SQL structured type
+ *
+ * @author Aaron M. Renn (arenn@urbanophile.com)
+ */
+public abstract interface Ref
+{
+
+/**
+ * This method returns the fully qualified name of the SQL structured
+ * type of the referenced item.
+ *
+ * @return The fully qualified name of the SQL structured type.
+ *
+ * @exception SQLException If an error occurs.
+ */
+public abstract String
+getBaseTypeName() throws SQLException;
+
+} // interface Ref
+