|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This is a database mapping. It maps a property (type: Property) to the actual data in the database.
| Method Summary | |
SQLStatements |
getDistinctSQL()
Returns the SQL statements required to get the distinct values for the property associated with this mapping. |
java.util.List |
getJavaObjects(java.sql.ResultSet rs,
ExtraInfo extraInfo)
Gets the data from the given result set as Java objects. |
Property |
getProperty()
Gets the property associated with this database mapping. |
java.lang.String |
getSQLSubString(Filter filter,
ExtraInfo extraInfo)
Gets the SQL sub-string based on the given filter. |
| Method Detail |
public Property getProperty()
public java.lang.String getSQLSubString(Filter filter,
ExtraInfo extraInfo)
filter - filterextraInfo - this is extra information that can be used
by this database mapping to generate the SQL.
public java.util.List getJavaObjects(java.sql.ResultSet rs,
ExtraInfo extraInfo)
throws java.sql.SQLException
rs - result setextraInfo - this is extra information that can be used
by this database mapping to generate the Java objects.
java.sql.SQLExceptionpublic SQLStatements getDistinctSQL()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||