Package graphql.schema
Class InputValueWithState
- java.lang.Object
-
- graphql.schema.InputValueWithState
-
@PublicApi public class InputValueWithState extends java.lang.Object
Used by @GraphQLArgumentandGraphQLInputObjectFieldto represent different value states.
-
-
Field Summary
Fields Modifier and Type Field Description static InputValueWithStateNOT_SET
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable java.lang.ObjectgetValue()booleanisExternal()booleanisInternal()booleanisLiteral()booleanisNotSet()booleanisSet()static InputValueWithStatenewExternalValue(@Nullable java.lang.Object value)static InputValueWithStatenewInternalValue(@Nullable java.lang.Object value)static InputValueWithStatenewLiteralValue(@NotNull Value value)java.lang.StringtoString()
-
-
-
Field Detail
-
NOT_SET
public static final InputValueWithState NOT_SET
-
-
Method Detail
-
newLiteralValue
public static InputValueWithState newLiteralValue(@NotNull @NotNull Value value)
-
newExternalValue
public static InputValueWithState newExternalValue(@Nullable @Nullable java.lang.Object value)
-
newInternalValue
public static InputValueWithState newInternalValue(@Nullable @Nullable java.lang.Object value)
-
getValue
@Nullable public @Nullable java.lang.Object getValue()
-
isNotSet
public boolean isNotSet()
-
isSet
public boolean isSet()
-
isLiteral
public boolean isLiteral()
-
isExternal
public boolean isExternal()
-
isInternal
public boolean isInternal()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-