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 ([email protected])
- 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 void
addValue(EnumValue value)
String
getDescription()
Set<EnumValue>
getValues()
boolean
hasValues()
void
setDescription(String description)
void
setValues(Set<EnumValue> values)
String
toString()
-
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
-
-