|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This is a collection of database mappings for database.
| Method Summary | |
void |
addMapping(DatabaseMapping mapping)
Adds the specified database mapping. |
DatabaseMapping |
getMapping(Property property)
Gets the mapping associated with the given property. |
DatabaseMapping[] |
getMappings(java.lang.Class type)
Gets the database mappings from this property map that an associated property of the give type. |
DatabaseMapping |
getMatchingMapping(DatabaseMapping mapping)
Gets the database mapping that matches the given database mapping. |
java.lang.String |
getSQL(Filter filter,
ExtraInfo extraInfo)
Get the SQL "where" string required to retrieve the data matching the given filter for this property map. |
| Method Detail |
public DatabaseMapping getMapping(Property property)
property - the property
public void addMapping(DatabaseMapping mapping)
mapping - the mapping to addpublic DatabaseMapping getMatchingMapping(DatabaseMapping mapping)
mapping - the mapping to match
public java.lang.String getSQL(Filter filter,
ExtraInfo extraInfo)
filter - the filterextraInfo - this is extra information that will be passed
along to the individual database mappings used by the property
map to generate the SQL. null if not needed.
public DatabaseMapping[] getMappings(java.lang.Class type)
type - type to match
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||