Interface ToManySpec
- All Known Implementing Classes:
RelationshipLegacy
Deprecated, for removal: This API element is subject to removal in a future version.
Specification for the ToMany relationship
- Author:
- Antony Joseph
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.The properties on each list whose values should be matched to populate the toMany relationship.Deprecated, for removal: This API element is subject to removal in a future version.The 'through' information when defining a toMany relationship through an intermediate table (one side of many to many).
-
Method Details
-
joinOn
Deprecated, for removal: This API element is subject to removal in a future version.The properties on each list whose values should be matched to populate the toMany relationship. The java type of both the properties have to be exactly the same.- Parameters:
mainObjIdProperty- The main object idrelatedObjFkProperty- The related object foreign key used for matching- Returns:
- The populateSpec
-
through
PopulateSpec through(Class<?> throughType, String fkPropertyToMainObjId, String fkPropertyToRelatedObjId) Deprecated, for removal: This API element is subject to removal in a future version.The 'through' information when defining a toMany relationship through an intermediate table (one side of many to many).- Parameters:
throughType- The intermediate typefkPropertyToMainObjId- the foreign key property that matches the main object's idfkPropertyToRelatedObjId- The foreign key property that matches the related object's id- Returns:
- the PopulateSpec
-