Class EnumField
java.lang.Object
no.sikt.graphitron.definitions.fields.AbstractField<graphql.language.EnumValueDefinition>
no.sikt.graphitron.definitions.fields.EnumField
- All Implemented Interfaces:
FieldSpecification
An enum value within an
EnumDefinition.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class no.sikt.graphitron.definitions.fields.AbstractField
formatGraphQLSchemaType, getContainerTypeName, getJavaName, getMappingFromFieldOverride, getMappingFromSchemaName, getName, getTypeClass, getTypeName, getUnprocessedFieldOverrideInput, getUpperCaseName, hasSetFieldOverride, isID, isIterableWrapped, isIterableWrappedWithNullableElement, isNonNullable, isNullable, isRootFieldMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface no.sikt.graphitron.definitions.interfaces.FieldSpecification
getNodeIdTypeName
-
Constructor Details
-
EnumField
-
-
Method Details
-
from
- Returns:
- List of instances based on an instance of
EnumTypeDefinition.
-
hasNodeID
public boolean hasNodeID()- Returns:
- Does this field have the @nodeId directive?
-