RowSet.h 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_sql_RowSet__
  3. #define __javax_sql_RowSet__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace java
  10. {
  11. namespace math
  12. {
  13. class BigDecimal;
  14. }
  15. namespace net
  16. {
  17. class URL;
  18. }
  19. namespace sql
  20. {
  21. class Array;
  22. class Blob;
  23. class Clob;
  24. class Date;
  25. class Ref;
  26. class ResultSetMetaData;
  27. class SQLWarning;
  28. class Statement;
  29. class Time;
  30. class Timestamp;
  31. }
  32. }
  33. namespace javax
  34. {
  35. namespace sql
  36. {
  37. class RowSet;
  38. class RowSetListener;
  39. }
  40. }
  41. }
  42. class javax::sql::RowSet : public ::java::lang::Object
  43. {
  44. public:
  45. virtual ::java::lang::String * getUrl() = 0;
  46. virtual void setUrl(::java::lang::String *) = 0;
  47. virtual ::java::lang::String * getDataSourceName() = 0;
  48. virtual void setDataSourceName(::java::lang::String *) = 0;
  49. virtual ::java::lang::String * getUsername() = 0;
  50. virtual void setUsername(::java::lang::String *) = 0;
  51. virtual ::java::lang::String * getPassword() = 0;
  52. virtual void setPassword(::java::lang::String *) = 0;
  53. virtual jint getTransactionIsolation() = 0;
  54. virtual void setTransactionIsolation(jint) = 0;
  55. virtual ::java::util::Map * getTypeMap() = 0;
  56. virtual void setTypeMap(::java::util::Map *) = 0;
  57. virtual ::java::lang::String * getCommand() = 0;
  58. virtual void setCommand(::java::lang::String *) = 0;
  59. virtual jboolean isReadOnly() = 0;
  60. virtual void setReadOnly(jboolean) = 0;
  61. virtual jint getMaxFieldSize() = 0;
  62. virtual void setMaxFieldSize(jint) = 0;
  63. virtual jint getMaxRows() = 0;
  64. virtual void setMaxRows(jint) = 0;
  65. virtual jboolean getEscapeProcessing() = 0;
  66. virtual void setEscapeProcessing(jboolean) = 0;
  67. virtual jint getQueryTimeout() = 0;
  68. virtual void setQueryTimeout(jint) = 0;
  69. virtual void setType(jint) = 0;
  70. virtual void setConcurrency(jint) = 0;
  71. virtual void setNull(jint, jint) = 0;
  72. virtual void setNull(jint, jint, ::java::lang::String *) = 0;
  73. virtual void setBoolean(jint, jboolean) = 0;
  74. virtual void setByte(jint, jbyte) = 0;
  75. virtual void setShort(jint, jshort) = 0;
  76. virtual void setInt(jint, jint) = 0;
  77. virtual void setLong(jint, jlong) = 0;
  78. virtual void setFloat(jint, jfloat) = 0;
  79. virtual void setDouble(jint, jdouble) = 0;
  80. virtual void setBigDecimal(jint, ::java::math::BigDecimal *) = 0;
  81. virtual void setString(jint, ::java::lang::String *) = 0;
  82. virtual void setBytes(jint, JArray< jbyte > *) = 0;
  83. virtual void setDate(jint, ::java::sql::Date *) = 0;
  84. virtual void setTime(jint, ::java::sql::Time *) = 0;
  85. virtual void setTimestamp(jint, ::java::sql::Timestamp *) = 0;
  86. virtual void setAsciiStream(jint, ::java::io::InputStream *, jint) = 0;
  87. virtual void setBinaryStream(jint, ::java::io::InputStream *, jint) = 0;
  88. virtual void setCharacterStream(jint, ::java::io::Reader *, jint) = 0;
  89. virtual void setObject(jint, ::java::lang::Object *, jint, jint) = 0;
  90. virtual void setObject(jint, ::java::lang::Object *, jint) = 0;
  91. virtual void setObject(jint, ::java::lang::Object *) = 0;
  92. virtual void setRef(jint, ::java::sql::Ref *) = 0;
  93. virtual void setBlob(jint, ::java::sql::Blob *) = 0;
  94. virtual void setClob(jint, ::java::sql::Clob *) = 0;
  95. virtual void setArray(jint, ::java::sql::Array *) = 0;
  96. virtual void setDate(jint, ::java::sql::Date *, ::java::util::Calendar *) = 0;
  97. virtual void setTime(jint, ::java::sql::Time *, ::java::util::Calendar *) = 0;
  98. virtual void setTimestamp(jint, ::java::sql::Timestamp *, ::java::util::Calendar *) = 0;
  99. virtual void clearParameters() = 0;
  100. virtual void execute() = 0;
  101. virtual void addRowSetListener(::javax::sql::RowSetListener *) = 0;
  102. virtual void removeRowSetListener(::javax::sql::RowSetListener *) = 0;
  103. virtual jboolean next() = 0;
  104. virtual void close() = 0;
  105. virtual jboolean wasNull() = 0;
  106. virtual ::java::lang::String * getString(jint) = 0;
  107. virtual jboolean getBoolean(jint) = 0;
  108. virtual jbyte getByte(jint) = 0;
  109. virtual jshort getShort(jint) = 0;
  110. virtual jint getInt(jint) = 0;
  111. virtual jlong getLong(jint) = 0;
  112. virtual jfloat getFloat(jint) = 0;
  113. virtual jdouble getDouble(jint) = 0;
  114. virtual ::java::math::BigDecimal * getBigDecimal(jint, jint) = 0;
  115. virtual JArray< jbyte > * getBytes(jint) = 0;
  116. virtual ::java::sql::Date * getDate(jint) = 0;
  117. virtual ::java::sql::Time * getTime(jint) = 0;
  118. virtual ::java::sql::Timestamp * getTimestamp(jint) = 0;
  119. virtual ::java::io::InputStream * getAsciiStream(jint) = 0;
  120. virtual ::java::io::InputStream * getUnicodeStream(jint) = 0;
  121. virtual ::java::io::InputStream * getBinaryStream(jint) = 0;
  122. virtual ::java::lang::String * getString(::java::lang::String *) = 0;
  123. virtual jboolean getBoolean(::java::lang::String *) = 0;
  124. virtual jbyte getByte(::java::lang::String *) = 0;
  125. virtual jshort getShort(::java::lang::String *) = 0;
  126. virtual jint getInt(::java::lang::String *) = 0;
  127. virtual jlong getLong(::java::lang::String *) = 0;
  128. virtual jfloat getFloat(::java::lang::String *) = 0;
  129. virtual jdouble getDouble(::java::lang::String *) = 0;
  130. virtual ::java::math::BigDecimal * getBigDecimal(::java::lang::String *, jint) = 0;
  131. virtual JArray< jbyte > * getBytes(::java::lang::String *) = 0;
  132. virtual ::java::sql::Date * getDate(::java::lang::String *) = 0;
  133. virtual ::java::sql::Time * getTime(::java::lang::String *) = 0;
  134. virtual ::java::sql::Timestamp * getTimestamp(::java::lang::String *) = 0;
  135. virtual ::java::io::InputStream * getAsciiStream(::java::lang::String *) = 0;
  136. virtual ::java::io::InputStream * getUnicodeStream(::java::lang::String *) = 0;
  137. virtual ::java::io::InputStream * getBinaryStream(::java::lang::String *) = 0;
  138. virtual ::java::sql::SQLWarning * getWarnings() = 0;
  139. virtual void clearWarnings() = 0;
  140. virtual ::java::lang::String * getCursorName() = 0;
  141. virtual ::java::sql::ResultSetMetaData * getMetaData() = 0;
  142. virtual ::java::lang::Object * getObject(jint) = 0;
  143. virtual ::java::lang::Object * getObject(::java::lang::String *) = 0;
  144. virtual jint findColumn(::java::lang::String *) = 0;
  145. virtual ::java::io::Reader * getCharacterStream(jint) = 0;
  146. virtual ::java::io::Reader * getCharacterStream(::java::lang::String *) = 0;
  147. virtual ::java::math::BigDecimal * getBigDecimal(jint) = 0;
  148. virtual ::java::math::BigDecimal * getBigDecimal(::java::lang::String *) = 0;
  149. virtual jboolean isBeforeFirst() = 0;
  150. virtual jboolean isAfterLast() = 0;
  151. virtual jboolean isFirst() = 0;
  152. virtual jboolean isLast() = 0;
  153. virtual void beforeFirst() = 0;
  154. virtual void afterLast() = 0;
  155. virtual jboolean first() = 0;
  156. virtual jboolean last() = 0;
  157. virtual jint getRow() = 0;
  158. virtual jboolean absolute(jint) = 0;
  159. virtual jboolean relative(jint) = 0;
  160. virtual jboolean previous() = 0;
  161. virtual void setFetchDirection(jint) = 0;
  162. virtual jint getFetchDirection() = 0;
  163. virtual void setFetchSize(jint) = 0;
  164. virtual jint getFetchSize() = 0;
  165. virtual jint getType() = 0;
  166. virtual jint getConcurrency() = 0;
  167. virtual jboolean rowUpdated() = 0;
  168. virtual jboolean rowInserted() = 0;
  169. virtual jboolean rowDeleted() = 0;
  170. virtual void updateNull(jint) = 0;
  171. virtual void updateBoolean(jint, jboolean) = 0;
  172. virtual void updateByte(jint, jbyte) = 0;
  173. virtual void updateShort(jint, jshort) = 0;
  174. virtual void updateInt(jint, jint) = 0;
  175. virtual void updateLong(jint, jlong) = 0;
  176. virtual void updateFloat(jint, jfloat) = 0;
  177. virtual void updateDouble(jint, jdouble) = 0;
  178. virtual void updateBigDecimal(jint, ::java::math::BigDecimal *) = 0;
  179. virtual void updateString(jint, ::java::lang::String *) = 0;
  180. virtual void updateBytes(jint, JArray< jbyte > *) = 0;
  181. virtual void updateDate(jint, ::java::sql::Date *) = 0;
  182. virtual void updateTime(jint, ::java::sql::Time *) = 0;
  183. virtual void updateTimestamp(jint, ::java::sql::Timestamp *) = 0;
  184. virtual void updateAsciiStream(jint, ::java::io::InputStream *, jint) = 0;
  185. virtual void updateBinaryStream(jint, ::java::io::InputStream *, jint) = 0;
  186. virtual void updateCharacterStream(jint, ::java::io::Reader *, jint) = 0;
  187. virtual void updateObject(jint, ::java::lang::Object *, jint) = 0;
  188. virtual void updateObject(jint, ::java::lang::Object *) = 0;
  189. virtual void updateNull(::java::lang::String *) = 0;
  190. virtual void updateBoolean(::java::lang::String *, jboolean) = 0;
  191. virtual void updateByte(::java::lang::String *, jbyte) = 0;
  192. virtual void updateShort(::java::lang::String *, jshort) = 0;
  193. virtual void updateInt(::java::lang::String *, jint) = 0;
  194. virtual void updateLong(::java::lang::String *, jlong) = 0;
  195. virtual void updateFloat(::java::lang::String *, jfloat) = 0;
  196. virtual void updateDouble(::java::lang::String *, jdouble) = 0;
  197. virtual void updateBigDecimal(::java::lang::String *, ::java::math::BigDecimal *) = 0;
  198. virtual void updateString(::java::lang::String *, ::java::lang::String *) = 0;
  199. virtual void updateBytes(::java::lang::String *, JArray< jbyte > *) = 0;
  200. virtual void updateDate(::java::lang::String *, ::java::sql::Date *) = 0;
  201. virtual void updateTime(::java::lang::String *, ::java::sql::Time *) = 0;
  202. virtual void updateTimestamp(::java::lang::String *, ::java::sql::Timestamp *) = 0;
  203. virtual void updateAsciiStream(::java::lang::String *, ::java::io::InputStream *, jint) = 0;
  204. virtual void updateBinaryStream(::java::lang::String *, ::java::io::InputStream *, jint) = 0;
  205. virtual void updateCharacterStream(::java::lang::String *, ::java::io::Reader *, jint) = 0;
  206. virtual void updateObject(::java::lang::String *, ::java::lang::Object *, jint) = 0;
  207. virtual void updateObject(::java::lang::String *, ::java::lang::Object *) = 0;
  208. virtual void insertRow() = 0;
  209. virtual void updateRow() = 0;
  210. virtual void deleteRow() = 0;
  211. virtual void refreshRow() = 0;
  212. virtual void cancelRowUpdates() = 0;
  213. virtual void moveToInsertRow() = 0;
  214. virtual void moveToCurrentRow() = 0;
  215. virtual ::java::sql::Statement * getStatement() = 0;
  216. virtual ::java::lang::Object * getObject(jint, ::java::util::Map *) = 0;
  217. virtual ::java::sql::Ref * getRef(jint) = 0;
  218. virtual ::java::sql::Blob * getBlob(jint) = 0;
  219. virtual ::java::sql::Clob * getClob(jint) = 0;
  220. virtual ::java::sql::Array * getArray(jint) = 0;
  221. virtual ::java::lang::Object * getObject(::java::lang::String *, ::java::util::Map *) = 0;
  222. virtual ::java::sql::Ref * getRef(::java::lang::String *) = 0;
  223. virtual ::java::sql::Blob * getBlob(::java::lang::String *) = 0;
  224. virtual ::java::sql::Clob * getClob(::java::lang::String *) = 0;
  225. virtual ::java::sql::Array * getArray(::java::lang::String *) = 0;
  226. virtual ::java::sql::Date * getDate(jint, ::java::util::Calendar *) = 0;
  227. virtual ::java::sql::Date * getDate(::java::lang::String *, ::java::util::Calendar *) = 0;
  228. virtual ::java::sql::Time * getTime(jint, ::java::util::Calendar *) = 0;
  229. virtual ::java::sql::Time * getTime(::java::lang::String *, ::java::util::Calendar *) = 0;
  230. virtual ::java::sql::Timestamp * getTimestamp(jint, ::java::util::Calendar *) = 0;
  231. virtual ::java::sql::Timestamp * getTimestamp(::java::lang::String *, ::java::util::Calendar *) = 0;
  232. virtual ::java::net::URL * getURL(jint) = 0;
  233. virtual ::java::net::URL * getURL(::java::lang::String *) = 0;
  234. virtual void updateRef(jint, ::java::sql::Ref *) = 0;
  235. virtual void updateRef(::java::lang::String *, ::java::sql::Ref *) = 0;
  236. virtual void updateBlob(jint, ::java::sql::Blob *) = 0;
  237. virtual void updateBlob(::java::lang::String *, ::java::sql::Blob *) = 0;
  238. virtual void updateClob(jint, ::java::sql::Clob *) = 0;
  239. virtual void updateClob(::java::lang::String *, ::java::sql::Clob *) = 0;
  240. virtual void updateArray(jint, ::java::sql::Array *) = 0;
  241. virtual void updateArray(::java::lang::String *, ::java::sql::Array *) = 0;
  242. static ::java::lang::Class class$;
  243. } __attribute__ ((java_interface));
  244. #endif // __javax_sql_RowSet__