Package io.smallrye.graphql.schema.model
Class EnumType
- java.lang.Object
-
- io.smallrye.graphql.schema.model.Reference
-
- io.smallrye.graphql.schema.model.EnumType
-
- All Implemented Interfaces:
Serializable
public final class EnumType extends Reference
Represent an enum type in the Schema.- Author:
- Phillip Kruger (phillip.kruger@redhat.com)
- See Also:
- Enum, Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.smallrye.graphql.schema.model.Reference
Reference.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddValue(EnumValue value)StringgetDescription()Set<EnumValue>getValues()booleanhasValues()voidsetDescription(String description)voidsetValues(Set<EnumValue> values)StringtoString()-
Methods inherited from class io.smallrye.graphql.schema.model.Reference
addDirectiveInstance, equals, getAdaptTo, getAdaptWith, getClassName, getClassParametrizedType, getClassParametrizedTypes, getDirectiveInstances, getGraphQLClassName, getName, getType, getWrapper, hasClassParameterizedTypes, hasDirectiveInstances, hashCode, hasWrapper, isAdaptingTo, isAdaptingWith, isAddParametrizedTypeNameExtension, setAdaptTo, setAdaptWith, setAddParametrizedTypeNameExtension, setClassName, setClassParametrizedTypes, setDirectiveInstances, setGraphQLClassName, setName, setType, setWrapper
-
-