Package io.smallrye.graphql.schema.model
Enum CustomScalarType.CustomScalarPrimitiveType
- java.lang.Object
-
- java.lang.Enum<CustomScalarType.CustomScalarPrimitiveType>
-
- io.smallrye.graphql.schema.model.CustomScalarType.CustomScalarPrimitiveType
-
- All Implemented Interfaces:
Serializable,Comparable<CustomScalarType.CustomScalarPrimitiveType>
- Enclosing class:
- CustomScalarType
public static enum CustomScalarType.CustomScalarPrimitiveType extends Enum<CustomScalarType.CustomScalarPrimitiveType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FLOAT_TYPEINT_TYPESTRING_TYPE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CustomScalarType.CustomScalarPrimitiveTypevalueOf(String name)Returns the enum constant of this type with the specified name.static CustomScalarType.CustomScalarPrimitiveType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STRING_TYPE
public static final CustomScalarType.CustomScalarPrimitiveType STRING_TYPE
-
INT_TYPE
public static final CustomScalarType.CustomScalarPrimitiveType INT_TYPE
-
FLOAT_TYPE
public static final CustomScalarType.CustomScalarPrimitiveType FLOAT_TYPE
-
-
Method Detail
-
values
public static CustomScalarType.CustomScalarPrimitiveType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CustomScalarType.CustomScalarPrimitiveType c : CustomScalarType.CustomScalarPrimitiveType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CustomScalarType.CustomScalarPrimitiveType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-