Record Class JoinsContext.FieldAndTableNameOrAlias
java.lang.Object
java.lang.Record
com.kingsrook.qqq.backend.core.model.actions.tables.query.JoinsContext.FieldAndTableNameOrAlias
- Record Components:
field- the field's metadata.tableNameOrAlias- the table name or alias that the field belongs to, as it should appear in generated SQL.
- Enclosing class:
JoinsContext
public static record JoinsContext.FieldAndTableNameOrAlias(QFieldMetaData field, String tableNameOrAlias)
extends Record
Record pairing a resolved
QFieldMetaData with the table name or
alias from which it was resolved.-
Constructor Summary
ConstructorsConstructorDescriptionFieldAndTableNameOrAlias(QFieldMetaData field, String tableNameOrAlias) Creates an instance of aFieldAndTableNameOrAliasrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.field()Returns the value of thefieldrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thetableNameOrAliasrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FieldAndTableNameOrAlias
Creates an instance of aFieldAndTableNameOrAliasrecord class.- Parameters:
field- the value for thefieldrecord componenttableNameOrAlias- the value for thetableNameOrAliasrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
field
-
tableNameOrAlias
Returns the value of thetableNameOrAliasrecord component.- Returns:
- the value of the
tableNameOrAliasrecord component
-