Class ImmutableToUpperCaseOperator
java.lang.Object
io.dialob.session.engine.program.expr.arith.ImmutableToUpperCaseOperator
- All Implemented Interfaces:
ToUpperCaseOperator,Expression,Serializable
@Generated(from="ToUpperCaseOperator",
generator="Immutables")
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
@CheckReturnValue
public final class ImmutableToUpperCaseOperator
extends Object
implements ToUpperCaseOperator
Immutable implementation of
ToUpperCaseOperator.
Use the builder to create immutable instances:
ImmutableToUpperCaseOperator.builder().
Use the static factory method to create immutable instances:
ImmutableToUpperCaseOperator.upperCaseOf().
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeImmutableToUpperCaseOperator. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forImmutableToUpperCaseOperator.static ImmutableToUpperCaseOperatorcopyOf(ToUpperCaseOperator instance) Creates an immutable copy of aToUpperCaseOperatorvalue.booleanThis instance is equal to all instances ofImmutableToUpperCaseOperatorthat have equal attribute values.inthashCode()Computes a hash code from attributes:expression.toString()Prints the immutable valueToUpperCaseOperatorwith attribute values.static ImmutableToUpperCaseOperatorupperCaseOf(Expression expression) Construct a new immutableToUpperCaseOperatorinstance.withExpression(Expression value) Copy the current immutable object by setting a value for theexpressionattribute.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.dialob.session.engine.program.expr.arith.ToUpperCaseOperator
eval, getEvalRequiredConditions, getValueType
-
Method Details
-
getExpression
- Specified by:
getExpressionin interfaceToUpperCaseOperator- Returns:
- The value of the
expressionattribute
-
withExpression
Copy the current immutable object by setting a value for theexpressionattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for expression- Returns:
- A modified copy or the
thisobject
-
equals
This instance is equal to all instances ofImmutableToUpperCaseOperatorthat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:expression. -
toString
Prints the immutable valueToUpperCaseOperatorwith attribute values. -
upperCaseOf
Construct a new immutableToUpperCaseOperatorinstance.- Parameters:
expression- The value for theexpressionattribute- Returns:
- An immutable ToUpperCaseOperator instance
-
copyOf
Creates an immutable copy of aToUpperCaseOperatorvalue. Uses accessors to get values to initialize the new immutable instance. If an instance is already immutable, it is returned as is.- Parameters:
instance- The instance to copy- Returns:
- A copied immutable ToUpperCaseOperator instance
-
builder
Creates a builder forImmutableToUpperCaseOperator.ImmutableToUpperCaseOperator.builder() .expression(io.dialob.session.engine.program.model.Expression) // requiredexpression.build();- Returns:
- A new ImmutableToUpperCaseOperator builder
-