Package openGql.grammar
Class OpenDynamicUnionType
- java.lang.Object
-
- openGql.grammar.OpenDynamicUnionType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<OpenDynamicUnionType>
public class OpenDynamicUnionType extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<OpenDynamicUnionType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static NameNOT_NULLName of theopenGql.grammar.OpenDynamicUnionType.notNullfield.java.lang.BooleannotNullstatic NameTYPE_Name of theopenGql.grammar.OpenDynamicUnionTypetype.java.lang.Booleanvaluestatic NameVALUEName of theopenGql.grammar.OpenDynamicUnionType.valuefield.
-
Constructor Summary
Constructors Constructor Description OpenDynamicUnionType(java.lang.Boolean value, java.lang.Boolean notNull)Constructs an immutableOpenDynamicUnionType.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(OpenDynamicUnionType other)booleanequals(java.lang.Object other)inthashCode()OpenDynamicUnionTypewithNotNull(java.lang.Boolean notNull)Returns a copy of thisOpenDynamicUnionTypewithnotNullreplaced.OpenDynamicUnionTypewithValue(java.lang.Boolean value)Returns a copy of thisOpenDynamicUnionTypewithvaluereplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.OpenDynamicUnionTypetype.
-
VALUE
public static final Name VALUE
Name of theopenGql.grammar.OpenDynamicUnionType.valuefield.
-
NOT_NULL
public static final Name NOT_NULL
Name of theopenGql.grammar.OpenDynamicUnionType.notNullfield.
-
value
public final java.lang.Boolean value
-
notNull
public final java.lang.Boolean notNull
-
-
Constructor Detail
-
OpenDynamicUnionType
public OpenDynamicUnionType(java.lang.Boolean value, java.lang.Boolean notNull)Constructs an immutableOpenDynamicUnionType.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
compareTo
public int compareTo(OpenDynamicUnionType other)
- Specified by:
compareToin interfacejava.lang.Comparable<OpenDynamicUnionType>
-
withValue
public OpenDynamicUnionType withValue(java.lang.Boolean value)
Returns a copy of thisOpenDynamicUnionTypewithvaluereplaced.
-
withNotNull
public OpenDynamicUnionType withNotNull(java.lang.Boolean notNull)
Returns a copy of thisOpenDynamicUnionTypewithnotNullreplaced.
-
-