Package openGql.grammar
Class NamedProcedureCall
- java.lang.Object
-
- openGql.grammar.NamedProcedureCall
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<NamedProcedureCall>
public class NamedProcedureCall extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<NamedProcedureCall>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description Optional<java.util.List<ValueExpression>>argumentsstatic NameARGUMENTSName of theopenGql.grammar.NamedProcedureCall.argumentsfield.ProcedureReferencereferencestatic NameREFERENCEName of theopenGql.grammar.NamedProcedureCall.referencefield.static NameTYPE_Name of theopenGql.grammar.NamedProcedureCalltype.Optional<java.util.List<YieldItem>>yieldstatic NameYIELDName of theopenGql.grammar.NamedProcedureCall.yieldfield.
-
Constructor Summary
Constructors Constructor Description NamedProcedureCall(ProcedureReference reference, Optional<java.util.List<ValueExpression>> arguments, Optional<java.util.List<YieldItem>> yield)Constructs an immutableNamedProcedureCall.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(NamedProcedureCall other)booleanequals(java.lang.Object other)inthashCode()NamedProcedureCallwithArguments(Optional<java.util.List<ValueExpression>> arguments)Returns a copy of thisNamedProcedureCallwithargumentsreplaced.NamedProcedureCallwithReference(ProcedureReference reference)Returns a copy of thisNamedProcedureCallwithreferencereplaced.NamedProcedureCallwithYield(Optional<java.util.List<YieldItem>> yield)Returns a copy of thisNamedProcedureCallwithyieldreplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.NamedProcedureCalltype.
-
REFERENCE
public static final Name REFERENCE
Name of theopenGql.grammar.NamedProcedureCall.referencefield.
-
ARGUMENTS
public static final Name ARGUMENTS
Name of theopenGql.grammar.NamedProcedureCall.argumentsfield.
-
YIELD
public static final Name YIELD
Name of theopenGql.grammar.NamedProcedureCall.yieldfield.
-
reference
public final ProcedureReference reference
-
arguments
public final Optional<java.util.List<ValueExpression>> arguments
-
-
Constructor Detail
-
NamedProcedureCall
public NamedProcedureCall(ProcedureReference reference, Optional<java.util.List<ValueExpression>> arguments, Optional<java.util.List<YieldItem>> yield)
Constructs an immutableNamedProcedureCall.
-
-
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(NamedProcedureCall other)
- Specified by:
compareToin interfacejava.lang.Comparable<NamedProcedureCall>
-
withReference
public NamedProcedureCall withReference(ProcedureReference reference)
Returns a copy of thisNamedProcedureCallwithreferencereplaced.
-
withArguments
public NamedProcedureCall withArguments(Optional<java.util.List<ValueExpression>> arguments)
Returns a copy of thisNamedProcedureCallwithargumentsreplaced.
-
withYield
public NamedProcedureCall withYield(Optional<java.util.List<YieldItem>> yield)
Returns a copy of thisNamedProcedureCallwithyieldreplaced.
-
-