You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by to...@apache.org on 2007/06/21 04:56:51 UTC
svn commit: r549336 - in
/harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql:
NClob.java RowId.java SQLXML.java
Author: tonywu
Date: Wed Jun 20 19:56:51 2007
New Revision: 549336
URL: http://svn.apache.org/viewvc?view=rev&rev=549336
Log:
Add 3 new Interfaces in java6
Added:
harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/NClob.java (with props)
harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/RowId.java (with props)
harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/SQLXML.java (with props)
Added: harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/NClob.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/NClob.java?view=auto&rev=549336
==============================================================================
--- harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/NClob.java (added)
+++ harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/NClob.java Wed Jun 20 19:56:51 2007
@@ -0,0 +1,24 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package java.sql;
+
+/**
+ * TODO Javadoc
+ */
+public interface NClob extends Clob {
+}
\ No newline at end of file
Propchange: harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/NClob.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/RowId.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/RowId.java?view=auto&rev=549336
==============================================================================
--- harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/RowId.java (added)
+++ harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/RowId.java Wed Jun 20 19:56:51 2007
@@ -0,0 +1,32 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package java.sql;
+
+/**
+ * TODO Javadoc
+ */
+public interface RowId {
+
+ boolean equals(Object obj);
+
+ byte[] getBytes();
+
+ String toString();
+
+ int hashCode();
+}
\ No newline at end of file
Propchange: harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/RowId.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/SQLXML.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/SQLXML.java?view=auto&rev=549336
==============================================================================
--- harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/SQLXML.java (added)
+++ harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/SQLXML.java Wed Jun 20 19:56:51 2007
@@ -0,0 +1,50 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package java.sql;
+
+import java.io.InputStream;
+import java.io.OutputStream;
+import java.io.Reader;
+import java.io.Writer;
+
+import javax.xml.transform.Result;
+import javax.xml.transform.Source;
+
+/**
+ * TODO Javadoc
+ */
+public interface SQLXML {
+
+ void free() throws SQLException;
+
+ InputStream getBinaryStream() throws SQLException;
+
+ OutputStream setBinaryStream() throws SQLException;
+
+ Reader getCharacterStream() throws SQLException;
+
+ Writer setCharacterStream() throws SQLException;
+
+ String getString() throws SQLException;
+
+ void setString(String value) throws SQLException;
+
+ <T extends Source> T getSource(Class<T> sourceClass) throws SQLException;
+
+ <T extends Result> T setResult(Class<T> resultClass) throws SQLException;
+}
\ No newline at end of file
Propchange: harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/SQLXML.java
------------------------------------------------------------------------------
svn:eol-style = native