Class QJoinMetaData
java.lang.Object
com.kingsrook.qqq.backend.core.model.metadata.joins.QJoinMetaData
- All Implemented Interfaces:
MetaDataProducerOutput,QMetaDataObject,TopLevelMetaDataInterface,Serializable,Cloneable
Definition of how 2 tables join together within a QQQ Instance.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSelfToInstance(QInstance qInstance) call the appropriate methods on a QInstance to add ourselves to it.clone()flip()Return a new QJoinMetaData, with all the same data as this one, but flipped right ←→ left, for the tables, the type, and the joinOns.Getter for joinOnsGetter for leftTablegetName()Getter for nameGetter for orderBysGetter for rightTablegetType()Getter for typestatic StringmakeInferredJoinName(String leftTable, String rightTable) voidsetJoinOns(List<JoinOn> joinOns) Setter for joinOnsvoidsetLeftTable(String leftTable) Setter for leftTablevoidSetter for namevoidsetOrderBys(List<QFilterOrderBy> orderBys) Setter for orderBysvoidsetRightTable(String rightTable) Setter for rightTablevoidSetter for typewithJoinOn(JoinOn joinOn) Fluent setter for joinOnswithJoinOns(List<JoinOn> joinOns) Fluent setter for joinOnswithLeftTable(String leftTable) Fluent setter for leftTableFluent setter for namewithOrderBy(QFilterOrderBy orderBy) Fluent setter for orderByswithOrderBys(List<QFilterOrderBy> orderBys) Fluent setter for orderByswithRightTable(String rightTable) Fluent setter for rightTableFluent setter for type
-
Constructor Details
-
QJoinMetaData
public QJoinMetaData()
-
-
Method Details
-
flip
Return a new QJoinMetaData, with all the same data as this one, but flipped right ←→ left, for the tables, the type, and the joinOns. -
clone
-
getName
Getter for name- Specified by:
getNamein interfaceTopLevelMetaDataInterface
-
setName
Setter for name -
withName
Fluent setter for name -
getType
Getter for type -
setType
Setter for type -
withType
Fluent setter for type -
getLeftTable
Getter for leftTable -
setLeftTable
Setter for leftTable -
withLeftTable
Fluent setter for leftTable -
getRightTable
Getter for rightTable -
setRightTable
Setter for rightTable -
withRightTable
Fluent setter for rightTable -
getJoinOns
-
setJoinOns
-
withJoinOns
Fluent setter for joinOns -
withJoinOn
Fluent setter for joinOns -
getOrderBys
Getter for orderBys -
setOrderBys
Setter for orderBys -
withOrderBys
Fluent setter for orderBys -
withOrderBy
Fluent setter for orderBys -
withInferredName
-
makeInferredJoinName
-
addSelfToInstance
Description copied from interface:MetaDataProducerOutputcall the appropriate methods on a QInstance to add ourselves to it.- Specified by:
addSelfToInstancein interfaceMetaDataProducerOutput- Specified by:
addSelfToInstancein interfaceTopLevelMetaDataInterface
-