Package openGql.grammar
Class CaseOperand.ElementReference
- java.lang.Object
-
- openGql.grammar.CaseOperand
-
- openGql.grammar.CaseOperand.ElementReference
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CaseOperand>
- Enclosing class:
- CaseOperand
public static final class CaseOperand.ElementReference extends CaseOperand implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class openGql.grammar.CaseOperand
CaseOperand.ElementReference, CaseOperand.PartialVisitor<R>, CaseOperand.ValueExpression, CaseOperand.Visitor<R>
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.Stringvalue-
Fields inherited from class openGql.grammar.CaseOperand
ELEMENT_REFERENCE, TYPE_, VALUE_EXPRESSION
-
-
Constructor Summary
Constructors Constructor Description ElementReference(java.lang.String value)Constructs an immutableCaseOperand.ElementReference.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> Raccept(CaseOperand.Visitor<R> visitor)Dispatch tovisitor.intcompareTo(CaseOperand other)booleanequals(java.lang.Object other)inthashCode()
-
-
-
Constructor Detail
-
ElementReference
public ElementReference(java.lang.String value)
Constructs an immutableCaseOperand.ElementReference.
-
-
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(CaseOperand other)
- Specified by:
compareToin interfacejava.lang.Comparable<CaseOperand>
-
accept
public <R> R accept(CaseOperand.Visitor<R> visitor)
Dispatch tovisitor.- Specified by:
acceptin classCaseOperand
-
-