Package openGql.grammar
Class SimplifiedQuantified
- java.lang.Object
-
- openGql.grammar.SimplifiedQuantified
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SimplifiedQuantified>
public class SimplifiedQuantified extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<SimplifiedQuantified>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description GraphPatternQuantifierquantifierstatic NameQUANTIFIERName of theopenGql.grammar.SimplifiedQuantified.quantifierfield.SimplifiedTertiarytertiarystatic NameTERTIARYName of theopenGql.grammar.SimplifiedQuantified.tertiaryfield.static NameTYPE_Name of theopenGql.grammar.SimplifiedQuantifiedtype.
-
Constructor Summary
Constructors Constructor Description SimplifiedQuantified(SimplifiedTertiary tertiary, GraphPatternQuantifier quantifier)Constructs an immutableSimplifiedQuantified.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(SimplifiedQuantified other)booleanequals(java.lang.Object other)inthashCode()SimplifiedQuantifiedwithQuantifier(GraphPatternQuantifier quantifier)Returns a copy of thisSimplifiedQuantifiedwithquantifierreplaced.SimplifiedQuantifiedwithTertiary(SimplifiedTertiary tertiary)Returns a copy of thisSimplifiedQuantifiedwithtertiaryreplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.SimplifiedQuantifiedtype.
-
TERTIARY
public static final Name TERTIARY
Name of theopenGql.grammar.SimplifiedQuantified.tertiaryfield.
-
QUANTIFIER
public static final Name QUANTIFIER
Name of theopenGql.grammar.SimplifiedQuantified.quantifierfield.
-
tertiary
public final SimplifiedTertiary tertiary
-
quantifier
public final GraphPatternQuantifier quantifier
-
-
Constructor Detail
-
SimplifiedQuantified
public SimplifiedQuantified(SimplifiedTertiary tertiary, GraphPatternQuantifier quantifier)
Constructs an immutableSimplifiedQuantified.
-
-
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(SimplifiedQuantified other)
- Specified by:
compareToin interfacejava.lang.Comparable<SimplifiedQuantified>
-
withTertiary
public SimplifiedQuantified withTertiary(SimplifiedTertiary tertiary)
Returns a copy of thisSimplifiedQuantifiedwithtertiaryreplaced.
-
withQuantifier
public SimplifiedQuantified withQuantifier(GraphPatternQuantifier quantifier)
Returns a copy of thisSimplifiedQuantifiedwithquantifierreplaced.
-
-