Package openGql.grammar
Class BinarySetFunction
- java.lang.Object
-
- openGql.grammar.BinarySetFunction
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<BinarySetFunction>
public class BinarySetFunction extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<BinarySetFunction>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static NameDEPENDENT_VALUEName of theopenGql.grammar.BinarySetFunction.dependentValuefield.DependentValueExpressiondependentValuestatic NameFUNCTION_TYPEName of theopenGql.grammar.BinarySetFunction.functionTypefield.BinarySetFunctionTypefunctionTypestatic NameINDEPENDENT_VALUEName of theopenGql.grammar.BinarySetFunction.independentValuefield.NumericValueExpressionindependentValuestatic NameTYPE_Name of theopenGql.grammar.BinarySetFunctiontype.
-
Constructor Summary
Constructors Constructor Description BinarySetFunction(BinarySetFunctionType functionType, DependentValueExpression dependentValue, NumericValueExpression independentValue)Constructs an immutableBinarySetFunction.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(BinarySetFunction other)booleanequals(java.lang.Object other)inthashCode()BinarySetFunctionwithDependentValue(DependentValueExpression dependentValue)Returns a copy of thisBinarySetFunctionwithdependentValuereplaced.BinarySetFunctionwithFunctionType(BinarySetFunctionType functionType)Returns a copy of thisBinarySetFunctionwithfunctionTypereplaced.BinarySetFunctionwithIndependentValue(NumericValueExpression independentValue)Returns a copy of thisBinarySetFunctionwithindependentValuereplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.BinarySetFunctiontype.
-
FUNCTION_TYPE
public static final Name FUNCTION_TYPE
Name of theopenGql.grammar.BinarySetFunction.functionTypefield.
-
DEPENDENT_VALUE
public static final Name DEPENDENT_VALUE
Name of theopenGql.grammar.BinarySetFunction.dependentValuefield.
-
INDEPENDENT_VALUE
public static final Name INDEPENDENT_VALUE
Name of theopenGql.grammar.BinarySetFunction.independentValuefield.
-
functionType
public final BinarySetFunctionType functionType
-
dependentValue
public final DependentValueExpression dependentValue
-
independentValue
public final NumericValueExpression independentValue
-
-
Constructor Detail
-
BinarySetFunction
public BinarySetFunction(BinarySetFunctionType functionType, DependentValueExpression dependentValue, NumericValueExpression independentValue)
Constructs an immutableBinarySetFunction.
-
-
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(BinarySetFunction other)
- Specified by:
compareToin interfacejava.lang.Comparable<BinarySetFunction>
-
withFunctionType
public BinarySetFunction withFunctionType(BinarySetFunctionType functionType)
Returns a copy of thisBinarySetFunctionwithfunctionTypereplaced.
-
withDependentValue
public BinarySetFunction withDependentValue(DependentValueExpression dependentValue)
Returns a copy of thisBinarySetFunctionwithdependentValuereplaced.
-
withIndependentValue
public BinarySetFunction withIndependentValue(NumericValueExpression independentValue)
Returns a copy of thisBinarySetFunctionwithindependentValuereplaced.
-
-