Package openGql.grammar
Class TemporalType
- java.lang.Object
-
- openGql.grammar.TemporalType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<TemporalType>
- Direct Known Subclasses:
TemporalType.DurationType,TemporalType.InstantType
public abstract class TemporalType extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<TemporalType>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTemporalType.DurationTypestatic classTemporalType.InstantTypestatic interfaceTemporalType.PartialVisitor<R>Partial visitor overTemporalTypewith a defaultTemporalType.PartialVisitor.otherwise(openGql.grammar.TemporalType)branch.static interfaceTemporalType.Visitor<R>Visitor overTemporalType.
-
Field Summary
Fields Modifier and Type Field Description static NameDURATION_TYPEName of theopenGql.grammar.TemporalType.durationTypefield.static NameINSTANT_TYPEName of theopenGql.grammar.TemporalType.instantTypefield.static NameTYPE_Name of theopenGql.grammar.TemporalTypetype.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract <R> Raccept(TemporalType.Visitor<R> visitor)Dispatch tovisitor.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.TemporalTypetype.
-
INSTANT_TYPE
public static final Name INSTANT_TYPE
Name of theopenGql.grammar.TemporalType.instantTypefield.
-
DURATION_TYPE
public static final Name DURATION_TYPE
Name of theopenGql.grammar.TemporalType.durationTypefield.
-
-
Method Detail
-
accept
public abstract <R> R accept(TemporalType.Visitor<R> visitor)
Dispatch tovisitor.
-
-