Java Doc for DatastoreMapping.java in  » Database-ORM » JPOX » org » jpox » store » mapping » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Database ORM » JPOX » org.jpox.store.mapping 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.jpox.store.mapping.DatastoreMapping

DatastoreMapping
public interface DatastoreMapping (Code)
Representation of the mapping of a datastore type.
version:
   $Revision: 1.7 $




Method Summary
 booleangetBoolean(Object resultSet, int exprIndex)
     Obtains a value from resultSet at position specified by exprIndex.
 bytegetByte(Object resultSet, int exprIndex)
     Obtains a value from resultSet at position specified by exprIndex.
 chargetChar(Object resultSet, int exprIndex)
     Obtains a value from resultSet at position specified by exprIndex.
 DatastoreFieldgetDatastoreField()
     The datastore field mapped.
 doublegetDouble(Object resultSet, int exprIndex)
     Obtains a value from resultSet at position specified by exprIndex.
 floatgetFloat(Object resultSet, int exprIndex)
     Obtains a value from resultSet at position specified by exprIndex.
 intgetInt(Object resultSet, int exprIndex)
     Obtains a value from resultSet at position specified by exprIndex.
 JavaTypeMappinggetJavaTypeMapping()
     The mapping for the java type that this datastore mapping is used by.
 longgetLong(Object resultSet, int exprIndex)
     Obtains a value from resultSet at position specified by exprIndex.
 ObjectgetObject(Object resultSet, int exprIndex)
     Obtains a value from resultSet at position specified by exprIndex.
 shortgetShort(Object resultSet, int exprIndex)
     Obtains a value from resultSet at position specified by exprIndex.
 StringgetString(Object resultSet, int exprIndex)
     Obtains a value from resultSet at position specified by exprIndex.
 booleanisBitBased()
     Accessor for whether the mapping is bit-based.
 booleanisBooleanBased()
     Accessor for whether the mapping is boolean-based.
 booleanisDecimalBased()
     Accessor for whether the mapping is decimal-based.
 booleanisIntegerBased()
     Accessor for whether the mapping is integer-based.
 booleanisNullable()
     Whether the field mapped is nullable.
 booleanisStringBased()
     Accessor for whether the mapping is string-based.
 voidsetBoolean(Object preparedStatement, int paramIndex, boolean value)
     Sets a value into preparedStatement at position specified by paramIndex.
 voidsetByte(Object preparedStatement, int paramIndex, byte value)
     Sets a value into preparedStatement at position specified by paramIndex.
 voidsetChar(Object preparedStatement, int paramIndex, char value)
     Sets a value into preparedStatement at position specified by paramIndex.
 voidsetDouble(Object preparedStatement, int paramIndex, double value)
     Sets a value into preparedStatement at position specified by paramIndex.
 voidsetFloat(Object preparedStatement, int paramIndex, float value)
     Sets a value into preparedStatement at position specified by paramIndex.
 voidsetInt(Object preparedStatement, int paramIndex, int value)
     Sets a value into preparedStatement at position specified by paramIndex.
 voidsetLong(Object preparedStatement, int paramIndex, long value)
     Sets a value into preparedStatement at position specified by paramIndex.
 voidsetObject(Object preparedStatement, int paramIndex, Object value)
     Sets a value into preparedStatement at position specified by paramIndex.
 voidsetShort(Object preparedStatement, int paramIndex, short value)
     Sets a value into preparedStatement at position specified by paramIndex.
 voidsetString(Object preparedStatement, int paramIndex, String value)
     Sets a value into preparedStatement at position specified by paramIndex.



Method Detail
getBoolean
boolean getBoolean(Object resultSet, int exprIndex)(Code)
Obtains a value from resultSet at position specified by exprIndex.
Parameters:
  resultSet - an object returned from the datastore with values
Parameters:
  exprIndex - the position of the value in the result the value



getByte
byte getByte(Object resultSet, int exprIndex)(Code)
Obtains a value from resultSet at position specified by exprIndex.
Parameters:
  resultSet - an object returned from the datastore with values
Parameters:
  exprIndex - the position of the value in the result the value



getChar
char getChar(Object resultSet, int exprIndex)(Code)
Obtains a value from resultSet at position specified by exprIndex.
Parameters:
  resultSet - an object returned from the datastore with values
Parameters:
  exprIndex - the position of the value in the result the value



getDatastoreField
DatastoreField getDatastoreField()(Code)
The datastore field mapped. the DatastoreField



getDouble
double getDouble(Object resultSet, int exprIndex)(Code)
Obtains a value from resultSet at position specified by exprIndex.
Parameters:
  resultSet - an object returned from the datastore with values
Parameters:
  exprIndex - the position of the value in the result the value



getFloat
float getFloat(Object resultSet, int exprIndex)(Code)
Obtains a value from resultSet at position specified by exprIndex.
Parameters:
  resultSet - an object returned from the datastore with values
Parameters:
  exprIndex - the position of the value in the result the value



getInt
int getInt(Object resultSet, int exprIndex)(Code)
Obtains a value from resultSet at position specified by exprIndex.
Parameters:
  resultSet - an object returned from the datastore with values
Parameters:
  exprIndex - the position of the value in the result the value



getJavaTypeMapping
JavaTypeMapping getJavaTypeMapping()(Code)
The mapping for the java type that this datastore mapping is used by. This will return null if this simply maps a datastore field in the datastore and has no associated java type in a class. the JavaTypeMapping



getLong
long getLong(Object resultSet, int exprIndex)(Code)
Obtains a value from resultSet at position specified by exprIndex.
Parameters:
  resultSet - an object returned from the datastore with values
Parameters:
  exprIndex - the position of the value in the result the value



getObject
Object getObject(Object resultSet, int exprIndex)(Code)
Obtains a value from resultSet at position specified by exprIndex.
Parameters:
  resultSet - an object returned from the datastore with values
Parameters:
  exprIndex - the position of the value in the result the value



getShort
short getShort(Object resultSet, int exprIndex)(Code)
Obtains a value from resultSet at position specified by exprIndex.
Parameters:
  resultSet - an object returned from the datastore with values
Parameters:
  exprIndex - the position of the value in the result the value



getString
String getString(Object resultSet, int exprIndex)(Code)
Obtains a value from resultSet at position specified by exprIndex.
Parameters:
  resultSet - an object returned from the datastore with values
Parameters:
  exprIndex - the position of the value in the result the value



isBitBased
boolean isBitBased()(Code)
Accessor for whether the mapping is bit-based. Whether the mapping is bit based



isBooleanBased
boolean isBooleanBased()(Code)
Accessor for whether the mapping is boolean-based. Whether the mapping is boolean based



isDecimalBased
boolean isDecimalBased()(Code)
Accessor for whether the mapping is decimal-based. Whether the mapping is decimal based



isIntegerBased
boolean isIntegerBased()(Code)
Accessor for whether the mapping is integer-based. Whether the mapping is integer based



isNullable
boolean isNullable()(Code)
Whether the field mapped is nullable. true if is nullable



isStringBased
boolean isStringBased()(Code)
Accessor for whether the mapping is string-based. Whether the mapping is string based



setBoolean
void setBoolean(Object preparedStatement, int paramIndex, boolean value)(Code)
Sets a value into preparedStatement at position specified by paramIndex.
Parameters:
  preparedStatement - a datastore object that executes statements in the database
Parameters:
  paramIndex - the position of the value in the statement
Parameters:
  value - the value



setByte
void setByte(Object preparedStatement, int paramIndex, byte value)(Code)
Sets a value into preparedStatement at position specified by paramIndex.
Parameters:
  preparedStatement - a datastore object that executes statements in the database
Parameters:
  paramIndex - the position of the value in the statement
Parameters:
  value - the value



setChar
void setChar(Object preparedStatement, int paramIndex, char value)(Code)
Sets a value into preparedStatement at position specified by paramIndex.
Parameters:
  preparedStatement - a datastore object that executes statements in the database
Parameters:
  paramIndex - the position of the value in the statement
Parameters:
  value - the value



setDouble
void setDouble(Object preparedStatement, int paramIndex, double value)(Code)
Sets a value into preparedStatement at position specified by paramIndex.
Parameters:
  preparedStatement - a datastore object that executes statements in the database
Parameters:
  paramIndex - the position of the value in the statement
Parameters:
  value - the value



setFloat
void setFloat(Object preparedStatement, int paramIndex, float value)(Code)
Sets a value into preparedStatement at position specified by paramIndex.
Parameters:
  preparedStatement - a datastore object that executes statements in the database
Parameters:
  paramIndex - the position of the value in the statement
Parameters:
  value - the value



setInt
void setInt(Object preparedStatement, int paramIndex, int value)(Code)
Sets a value into preparedStatement at position specified by paramIndex.
Parameters:
  preparedStatement - a datastore object that executes statements in the database
Parameters:
  paramIndex - the position of the value in the statement
Parameters:
  value - the value



setLong
void setLong(Object preparedStatement, int paramIndex, long value)(Code)
Sets a value into preparedStatement at position specified by paramIndex.
Parameters:
  preparedStatement - a datastore object that executes statements in the database
Parameters:
  paramIndex - the position of the value in the statement
Parameters:
  value - the value



setObject
void setObject(Object preparedStatement, int paramIndex, Object value)(Code)
Sets a value into preparedStatement at position specified by paramIndex.
Parameters:
  preparedStatement - a datastore object that executes statements in the database
Parameters:
  paramIndex - the position of the value in the statement
Parameters:
  value - the value



setShort
void setShort(Object preparedStatement, int paramIndex, short value)(Code)
Sets a value into preparedStatement at position specified by paramIndex.
Parameters:
  preparedStatement - a datastore object that executes statements in the database
Parameters:
  paramIndex - the position of the value in the statement
Parameters:
  value - the value



setString
void setString(Object preparedStatement, int paramIndex, String value)(Code)
Sets a value into preparedStatement at position specified by paramIndex.
Parameters:
  preparedStatement - a datastore object that executes statements in the database
Parameters:
  paramIndex - the position of the value in the statement
Parameters:
  value - the value



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.