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 TypeMethodDescriptionvoid
addSelfToInstance
(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 String
makeInferredJoinName
(String leftTable, String rightTable) void
setJoinOns
(List<JoinOn> joinOns) Setter for joinOnsvoid
setLeftTable
(String leftTable) Setter for leftTablevoid
Setter for namevoid
setOrderBys
(List<QFilterOrderBy> orderBys) Setter for orderBysvoid
setRightTable
(String rightTable) Setter for rightTablevoid
Setter 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:
getName
in 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:MetaDataProducerOutput
call the appropriate methods on a QInstance to add ourselves to it.- Specified by:
addSelfToInstance
in interfaceMetaDataProducerOutput
- Specified by:
addSelfToInstance
in interfaceTopLevelMetaDataInterface
-