Package openGql.grammar
Class TrimOperands
- java.lang.Object
-
- openGql.grammar.TrimOperands
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<TrimOperands>
public class TrimOperands extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<TrimOperands>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static NameCHARACTER_OR_BYTE_STRINGName of theopenGql.grammar.TrimOperands.characterOrByteStringfield.Optional<ValueExpression>characterOrByteStringValueExpressionsourcestatic NameSOURCEName of theopenGql.grammar.TrimOperands.sourcefield.Optional<TrimSpecification>specificationstatic NameSPECIFICATIONName of theopenGql.grammar.TrimOperands.specificationfield.static NameTYPE_Name of theopenGql.grammar.TrimOperandstype.
-
Constructor Summary
Constructors Constructor Description TrimOperands(Optional<TrimSpecification> specification, Optional<ValueExpression> characterOrByteString, ValueExpression source)Constructs an immutableTrimOperands.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(TrimOperands other)booleanequals(java.lang.Object other)inthashCode()TrimOperandswithCharacterOrByteString(Optional<ValueExpression> characterOrByteString)Returns a copy of thisTrimOperandswithcharacterOrByteStringreplaced.TrimOperandswithSource(ValueExpression source)Returns a copy of thisTrimOperandswithsourcereplaced.TrimOperandswithSpecification(Optional<TrimSpecification> specification)Returns a copy of thisTrimOperandswithspecificationreplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.TrimOperandstype.
-
SPECIFICATION
public static final Name SPECIFICATION
Name of theopenGql.grammar.TrimOperands.specificationfield.
-
CHARACTER_OR_BYTE_STRING
public static final Name CHARACTER_OR_BYTE_STRING
Name of theopenGql.grammar.TrimOperands.characterOrByteStringfield.
-
SOURCE
public static final Name SOURCE
Name of theopenGql.grammar.TrimOperands.sourcefield.
-
specification
public final Optional<TrimSpecification> specification
-
characterOrByteString
public final Optional<ValueExpression> characterOrByteString
-
source
public final ValueExpression source
-
-
Constructor Detail
-
TrimOperands
public TrimOperands(Optional<TrimSpecification> specification, Optional<ValueExpression> characterOrByteString, ValueExpression source)
Constructs an immutableTrimOperands.
-
-
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(TrimOperands other)
- Specified by:
compareToin interfacejava.lang.Comparable<TrimOperands>
-
withSpecification
public TrimOperands withSpecification(Optional<TrimSpecification> specification)
Returns a copy of thisTrimOperandswithspecificationreplaced.
-
withCharacterOrByteString
public TrimOperands withCharacterOrByteString(Optional<ValueExpression> characterOrByteString)
Returns a copy of thisTrimOperandswithcharacterOrByteStringreplaced.
-
withSource
public TrimOperands withSource(ValueExpression source)
Returns a copy of thisTrimOperandswithsourcereplaced.
-
-