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
-
-
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, getDirectiveInstances, getGraphQlClassName, getName, getParametrizedTypeArguments, getType, getWrapper, hasDirectiveInstances, hashCode, hasWrapper, isAdaptingTo, isAdaptingWith, isAddParametrizedTypeNameExtension, setAdaptTo, setAdaptWith, setAddParametrizedTypeNameExtension, setClassName, setDirectiveInstances, setGraphQlClassName, setName, setParametrizedTypeArguments, setType, setWrapper
-
-