Package openGql.grammar
Class DoubleTypeWithPrecision
- java.lang.Object
-
- openGql.grammar.DoubleTypeWithPrecision
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DoubleTypeWithPrecision>
public class DoubleTypeWithPrecision extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<DoubleTypeWithPrecision>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static NameNOT_NULLName of theopenGql.grammar.DoubleTypeWithPrecision.notNullfield.java.lang.BooleannotNulljava.lang.Booleanprecisionstatic NamePRECISIONName of theopenGql.grammar.DoubleTypeWithPrecision.precisionfield.static NameTYPE_Name of theopenGql.grammar.DoubleTypeWithPrecisiontype.
-
Constructor Summary
Constructors Constructor Description DoubleTypeWithPrecision(java.lang.Boolean precision, java.lang.Boolean notNull)Constructs an immutableDoubleTypeWithPrecision.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(DoubleTypeWithPrecision other)booleanequals(java.lang.Object other)inthashCode()DoubleTypeWithPrecisionwithNotNull(java.lang.Boolean notNull)Returns a copy of thisDoubleTypeWithPrecisionwithnotNullreplaced.DoubleTypeWithPrecisionwithPrecision(java.lang.Boolean precision)Returns a copy of thisDoubleTypeWithPrecisionwithprecisionreplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.DoubleTypeWithPrecisiontype.
-
PRECISION
public static final Name PRECISION
Name of theopenGql.grammar.DoubleTypeWithPrecision.precisionfield.
-
NOT_NULL
public static final Name NOT_NULL
Name of theopenGql.grammar.DoubleTypeWithPrecision.notNullfield.
-
precision
public final java.lang.Boolean precision
-
notNull
public final java.lang.Boolean notNull
-
-
Constructor Detail
-
DoubleTypeWithPrecision
public DoubleTypeWithPrecision(java.lang.Boolean precision, java.lang.Boolean notNull)Constructs an immutableDoubleTypeWithPrecision.
-
-
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(DoubleTypeWithPrecision other)
- Specified by:
compareToin interfacejava.lang.Comparable<DoubleTypeWithPrecision>
-
withPrecision
public DoubleTypeWithPrecision withPrecision(java.lang.Boolean precision)
Returns a copy of thisDoubleTypeWithPrecisionwithprecisionreplaced.
-
withNotNull
public DoubleTypeWithPrecision withNotNull(java.lang.Boolean notNull)
Returns a copy of thisDoubleTypeWithPrecisionwithnotNullreplaced.
-
-