Class AssociationJoin
java.lang.Object
com.kingsrook.qqq.backend.core.actions.tables.helpers.AssociationJoin
A declared association's field pairs, oriented from parent to child.
Tuple values use the child field types for both matching and assignment.
-
Method Summary
Modifier and TypeMethodDescriptionvoidassignParentValues(QRecord parent, QRecord child) Relationship fields override child input using the actual parent values.childValues(QRecord record) Use the same declared types as the parent lookup key.Return parent-left field pairs without exposing the registered join.parentValues(QRecord record) Preserve explicit null components; callers decide whether membership exists.static AssociationJoinresolve(QTableMetaData parentTable, Association association) Resolve the supplied parent's declared graph, including personalized metadata.
-
Method Details
-
resolve
public static AssociationJoin resolve(QTableMetaData parentTable, Association association) throws QException Resolve the supplied parent's declared graph, including personalized metadata. Self joins keep the registered left side as the parent, as validation does.- Throws:
QException
-
getJoinOns
-
parentValues
Preserve explicit null components; callers decide whether membership exists. -
childValues
Use the same declared types as the parent lookup key. -
assignParentValues
-