Class OrderByEnumField

java.lang.Object
no.sikt.graphitron.definitions.fields.AbstractField<graphql.language.EnumValueDefinition>
no.sikt.graphitron.definitions.fields.OrderByEnumField
All Implemented Interfaces:
FieldSpecification

public class OrderByEnumField extends AbstractField<graphql.language.EnumValueDefinition>
An order by field enum value within an EnumDefinition.
  • Constructor Details

    • OrderByEnumField

      public OrderByEnumField(graphql.language.EnumValueDefinition field, String container)
  • Method Details

    • from

      public static List<OrderByEnumField> from(graphql.language.EnumTypeDefinition e, String container)
      Returns:
      List of instances based on an instance of EnumTypeDefinition.
    • getIndexName

      public Optional<String> getIndexName()
    • hasNodeID

      public boolean hasNodeID()
      Returns:
      Does this field have the @nodeId directive?
    • getNodeIdTypeName

      public String getNodeIdTypeName()
      Returns:
      The type name configured in the @nodeId directive