summaryrefslogtreecommitdiff
path: root/src/interfaces/jdbc/postgresql/PG_Object.java
diff options
context:
space:
mode:
authorMarc G. Fournier1997-08-16 20:51:53 +0000
committerMarc G. Fournier1997-08-16 20:51:53 +0000
commitff246d7b64e41278cf1ac68a9245529a29dc98eb (patch)
tree0523ee20e74c251e39588913c3927d70d168264c /src/interfaces/jdbc/postgresql/PG_Object.java
parentfd86ae151aaf3e1e444a8a990e0ccb35c5dc2108 (diff)
Bring in Adrian's JDBC driver as an interface
Diffstat (limited to 'src/interfaces/jdbc/postgresql/PG_Object.java')
-rw-r--r--src/interfaces/jdbc/postgresql/PG_Object.java31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/interfaces/jdbc/postgresql/PG_Object.java b/src/interfaces/jdbc/postgresql/PG_Object.java
new file mode 100644
index 0000000000..89518dc0d8
--- /dev/null
+++ b/src/interfaces/jdbc/postgresql/PG_Object.java
@@ -0,0 +1,31 @@
+package postgresql;
+
+import java.lang.*;
+import java.sql.*;
+import java.util.*;
+import postgresql.*;
+
+/**
+ * postgresql.PG_Object is a class used to describe unknown types
+ * An unknown type is any type that is unknown by JDBC Standards
+ *
+ * @version 1.0 15-APR-1997
+ * @author <A HREF="mailto:[email protected]">Adrian Hall</A>
+ */
+public class PG_Object
+{
+ public String type;
+ public String value;
+
+ /**
+ * Constructor for the PostgreSQL generic object
+ *
+ * @param type a string describing the type of the object
+ * @param value a string representation of the value of the object
+ */
+ public PG_Object(String type, String value)
+ {
+ this.type = type;
+ this.value = value;
+ }
+}