Package openGql.grammar
Class TemporalDurationType
- java.lang.Object
-
- openGql.grammar.TemporalDurationType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<TemporalDurationType>
public class TemporalDurationType extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<TemporalDurationType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static NameNOT_NULLName of theopenGql.grammar.TemporalDurationType.notNullfield.java.lang.BooleannotNullTemporalDurationQualifierqualifierstatic NameQUALIFIERName of theopenGql.grammar.TemporalDurationType.qualifierfield.static NameTYPE_Name of theopenGql.grammar.TemporalDurationTypetype.
-
Constructor Summary
Constructors Constructor Description TemporalDurationType(TemporalDurationQualifier qualifier, java.lang.Boolean notNull)Constructs an immutableTemporalDurationType.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(TemporalDurationType other)booleanequals(java.lang.Object other)inthashCode()TemporalDurationTypewithNotNull(java.lang.Boolean notNull)Returns a copy of thisTemporalDurationTypewithnotNullreplaced.TemporalDurationTypewithQualifier(TemporalDurationQualifier qualifier)Returns a copy of thisTemporalDurationTypewithqualifierreplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.TemporalDurationTypetype.
-
QUALIFIER
public static final Name QUALIFIER
Name of theopenGql.grammar.TemporalDurationType.qualifierfield.
-
NOT_NULL
public static final Name NOT_NULL
Name of theopenGql.grammar.TemporalDurationType.notNullfield.
-
qualifier
public final TemporalDurationQualifier qualifier
-
notNull
public final java.lang.Boolean notNull
-
-
Constructor Detail
-
TemporalDurationType
public TemporalDurationType(TemporalDurationQualifier qualifier, java.lang.Boolean notNull)
Constructs an immutableTemporalDurationType.
-
-
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(TemporalDurationType other)
- Specified by:
compareToin interfacejava.lang.Comparable<TemporalDurationType>
-
withQualifier
public TemporalDurationType withQualifier(TemporalDurationQualifier qualifier)
Returns a copy of thisTemporalDurationTypewithqualifierreplaced.
-
withNotNull
public TemporalDurationType withNotNull(java.lang.Boolean notNull)
Returns a copy of thisTemporalDurationTypewithnotNullreplaced.
-
-