Record Class GraphQlSortInputGenerator.SortFieldAndSubtypes
java.lang.Object
java.lang.Record
ai.stapi.graphql.graphqlJava.graphQlSchemaGenerator.GraphQlSortInputGenerator.SortFieldAndSubtypes
- Enclosing class:
- GraphQlSortInputGenerator
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSortFieldAndSubtypes(graphql.schema.GraphQLInputObjectField field, List<graphql.schema.GraphQLInputObjectType> subtypes) Creates an instance of aSortFieldAndSubtypesrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.graphql.schema.GraphQLInputObjectFieldfield()Returns the value of thefieldrecord component.final inthashCode()Returns a hash code value for this object.List<graphql.schema.GraphQLInputObjectType>subtypes()Returns the value of thesubtypesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SortFieldAndSubtypes
protected SortFieldAndSubtypes(graphql.schema.GraphQLInputObjectField field, List<graphql.schema.GraphQLInputObjectType> subtypes) Creates an instance of aSortFieldAndSubtypesrecord class.- Parameters:
field- the value for thefieldrecord componentsubtypes- the value for thesubtypesrecord 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). -
field
public graphql.schema.GraphQLInputObjectField field()Returns the value of thefieldrecord component.- Returns:
- the value of the
fieldrecord component
-
subtypes
Returns the value of thesubtypesrecord component.- Returns:
- the value of the
subtypesrecord component
-