@PublicApi public class FieldCoordinates extends java.lang.Object
DataFetcher
need to be specified using those coordinates.Modifier and Type | Method and Description |
---|---|
static FieldCoordinates |
coordinates(GraphQLFieldsContainer parentType,
GraphQLFieldDefinition fieldDefinition)
Creates new field coordinates
|
static FieldCoordinates |
coordinates(java.lang.String parentType,
java.lang.String fieldName)
Creates new field coordinates
|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getFieldName() |
java.lang.String |
getTypeName() |
int |
hashCode() |
static FieldCoordinates |
systemCoordinates(java.lang.String fieldName)
The exception to the general rule is the system __xxxx Introspection fields which have no parent type and
are able to be specified on any type
|
java.lang.String |
toString() |
public java.lang.String getTypeName()
public java.lang.String getFieldName()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public static FieldCoordinates coordinates(GraphQLFieldsContainer parentType, GraphQLFieldDefinition fieldDefinition)
parentType
- the container of the fieldfieldDefinition
- the field definitionpublic static FieldCoordinates coordinates(java.lang.String parentType, java.lang.String fieldName)
parentType
- the container of the fieldfieldName
- the field namepublic static FieldCoordinates systemCoordinates(java.lang.String fieldName)
fieldName
- the name of the system field which MUST start with __