Package net.truej.sql.compiler
Record Class GLangParser.Chain
java.lang.Object
java.lang.Record
net.truej.sql.compiler.GLangParser.Chain
- Enclosing class:
GLangParser
public static record GLangParser.Chain(@Nullable String groupClassName, @Nullable String fieldName, @Nullable GLangParser.Chain next)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionChain(@Nullable String groupClassName, @Nullable String fieldName, @Nullable GLangParser.Chain next) Creates an instance of aChainrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.@Nullable StringReturns the value of thefieldNamerecord component.@Nullable StringReturns the value of thegroupClassNamerecord component.final inthashCode()Returns a hash code value for this object.@Nullable GLangParser.Chainnext()Returns the value of thenextrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Chain
public Chain(@Nullable @Nullable String groupClassName, @Nullable @Nullable String fieldName, @Nullable @Nullable GLangParser.Chain next) Creates an instance of aChainrecord class.- Parameters:
groupClassName- the value for thegroupClassNamerecord componentfieldName- the value for thefieldNamerecord componentnext- the value for thenextrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
groupClassName
Returns the value of thegroupClassNamerecord component.- Returns:
- the value of the
groupClassNamerecord component
-
fieldName
Returns the value of thefieldNamerecord component.- Returns:
- the value of the
fieldNamerecord component
-
next
Returns the value of thenextrecord component.- Returns:
- the value of the
nextrecord component
-