Package openGql.grammar
Class GeneralSetFunction
- java.lang.Object
-
- openGql.grammar.GeneralSetFunction
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<GeneralSetFunction>
public class GeneralSetFunction extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<GeneralSetFunction>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static NameFUNCTION_TYPEName of theopenGql.grammar.GeneralSetFunction.functionTypefield.GeneralSetFunctionTypefunctionTypestatic NameSET_QUANTIFIERName of theopenGql.grammar.GeneralSetFunction.setQuantifierfield.Optional<SetQuantifier>setQuantifierstatic NameTYPE_Name of theopenGql.grammar.GeneralSetFunctiontype.static NameVALUE_EXPRESSIONName of theopenGql.grammar.GeneralSetFunction.valueExpressionfield.ValueExpressionvalueExpression
-
Constructor Summary
Constructors Constructor Description GeneralSetFunction(GeneralSetFunctionType functionType, Optional<SetQuantifier> setQuantifier, ValueExpression valueExpression)Constructs an immutableGeneralSetFunction.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(GeneralSetFunction other)booleanequals(java.lang.Object other)inthashCode()GeneralSetFunctionwithFunctionType(GeneralSetFunctionType functionType)Returns a copy of thisGeneralSetFunctionwithfunctionTypereplaced.GeneralSetFunctionwithSetQuantifier(Optional<SetQuantifier> setQuantifier)Returns a copy of thisGeneralSetFunctionwithsetQuantifierreplaced.GeneralSetFunctionwithValueExpression(ValueExpression valueExpression)Returns a copy of thisGeneralSetFunctionwithvalueExpressionreplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.GeneralSetFunctiontype.
-
FUNCTION_TYPE
public static final Name FUNCTION_TYPE
Name of theopenGql.grammar.GeneralSetFunction.functionTypefield.
-
SET_QUANTIFIER
public static final Name SET_QUANTIFIER
Name of theopenGql.grammar.GeneralSetFunction.setQuantifierfield.
-
VALUE_EXPRESSION
public static final Name VALUE_EXPRESSION
Name of theopenGql.grammar.GeneralSetFunction.valueExpressionfield.
-
functionType
public final GeneralSetFunctionType functionType
-
setQuantifier
public final Optional<SetQuantifier> setQuantifier
-
valueExpression
public final ValueExpression valueExpression
-
-
Constructor Detail
-
GeneralSetFunction
public GeneralSetFunction(GeneralSetFunctionType functionType, Optional<SetQuantifier> setQuantifier, ValueExpression valueExpression)
Constructs an immutableGeneralSetFunction.
-
-
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(GeneralSetFunction other)
- Specified by:
compareToin interfacejava.lang.Comparable<GeneralSetFunction>
-
withFunctionType
public GeneralSetFunction withFunctionType(GeneralSetFunctionType functionType)
Returns a copy of thisGeneralSetFunctionwithfunctionTypereplaced.
-
withSetQuantifier
public GeneralSetFunction withSetQuantifier(Optional<SetQuantifier> setQuantifier)
Returns a copy of thisGeneralSetFunctionwithsetQuantifierreplaced.
-
withValueExpression
public GeneralSetFunction withValueExpression(ValueExpression valueExpression)
Returns a copy of thisGeneralSetFunctionwithvalueExpressionreplaced.
-
-