Package org.allGraphQLCases.server
Enum SEP_Episode_SES
- All Implemented Interfaces:
Serializable
,Comparable<SEP_Episode_SES>
,java.lang.constant.Constable
- Author:
- generated by graphql-java-generator
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SEP_Episode_SES
fromGraphQlValue
(String graphQlValue) Returns the enum constant of this type with the specified name (as specified in the GraphQL schema).Returns the value of this constant, as specified in the GraphQL schema.static SEP_Episode_SES
Returns the enum constant of this type with the specified name.static SEP_Episode_SES[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NEWHOPE
-
EMPIRE
-
JEDI
-
DOES_NOT_EXIST
-
A_NEW_EPISODE
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
graphQlValue
Returns the value of this constant, as specified in the GraphQL schema. This is usually the same as the enum item's name. But it will differ if this name is a java reserved keyword (in which case the name is prefixed by an underscore)- Returns:
- the enum constant with the specified name, as defined in the GraphQL schema
-
fromGraphQlValue
Returns the enum constant of this type with the specified name (as specified in the GraphQL schema). The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
graphQlValue
- The value, as defined in the GraphQL schema. This is usually the same as the enum item's name. But it will differ if this name is a java reserved keyword (in which case the name is prefixed by an underscore)- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified GraphQL name
-