Package net.truej.sql.compiler
Record Class GLangParser.ListOfGroupField
java.lang.Object
java.lang.Record
net.truej.sql.compiler.GLangParser.ListOfGroupField
- All Implemented Interfaces:
GLangParser.FetchToField,GLangParser.Field
- Enclosing class:
GLangParser
public static record GLangParser.ListOfGroupField(String name, String newJavaClassName, List<GLangParser.Field> fields)
extends Record
implements GLangParser.FetchToField
-
Constructor Summary
ConstructorsConstructorDescriptionListOfGroupField(String name, String newJavaClassName, List<GLangParser.Field> fields) Creates an instance of aListOfGroupFieldrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.fields()Returns the value of thefieldsrecord component.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.Returns the value of thenewJavaClassNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ListOfGroupField
Creates an instance of aListOfGroupFieldrecord class.- Parameters:
name- the value for thenamerecord componentnewJavaClassName- the value for thenewJavaClassNamerecord componentfields- the value for thefieldsrecord 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). -
name
Returns the value of thenamerecord component.- Specified by:
namein interfaceGLangParser.Field- Returns:
- the value of the
namerecord component
-
newJavaClassName
Returns the value of thenewJavaClassNamerecord component.- Returns:
- the value of the
newJavaClassNamerecord component
-
fields
Returns the value of thefieldsrecord component.- Returns:
- the value of the
fieldsrecord component
-