Package openGql.grammar
Class ParentAndTableName
- java.lang.Object
-
- openGql.grammar.ParentAndTableName
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ParentAndTableName>
public class ParentAndTableName extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<ParentAndTableName>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static NamePARENT_REFERENCEName of theopenGql.grammar.ParentAndTableName.parentReferencefield.CatalogObjectParentReferenceparentReferencestatic NameTABLE_NAMEName of theopenGql.grammar.ParentAndTableName.tableNamefield.BindingTableNametableNamestatic NameTYPE_Name of theopenGql.grammar.ParentAndTableNametype.
-
Constructor Summary
Constructors Constructor Description ParentAndTableName(CatalogObjectParentReference parentReference, BindingTableName tableName)Constructs an immutableParentAndTableName.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(ParentAndTableName other)booleanequals(java.lang.Object other)inthashCode()ParentAndTableNamewithParentReference(CatalogObjectParentReference parentReference)Returns a copy of thisParentAndTableNamewithparentReferencereplaced.ParentAndTableNamewithTableName(BindingTableName tableName)Returns a copy of thisParentAndTableNamewithtableNamereplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.ParentAndTableNametype.
-
PARENT_REFERENCE
public static final Name PARENT_REFERENCE
Name of theopenGql.grammar.ParentAndTableName.parentReferencefield.
-
TABLE_NAME
public static final Name TABLE_NAME
Name of theopenGql.grammar.ParentAndTableName.tableNamefield.
-
parentReference
public final CatalogObjectParentReference parentReference
-
tableName
public final BindingTableName tableName
-
-
Constructor Detail
-
ParentAndTableName
public ParentAndTableName(CatalogObjectParentReference parentReference, BindingTableName tableName)
Constructs an immutableParentAndTableName.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
compareTo
public int compareTo(ParentAndTableName other)
- Specified by:
compareToin interfacejava.lang.Comparable<ParentAndTableName>
-
withParentReference
public ParentAndTableName withParentReference(CatalogObjectParentReference parentReference)
Returns a copy of thisParentAndTableNamewithparentReferencereplaced.
-
withTableName
public ParentAndTableName withTableName(BindingTableName tableName)
Returns a copy of thisParentAndTableNamewithtableNamereplaced.
-
-