Package io.dialob.program.expr.arith
Class ImmutableToLowerCaseOperator
- java.lang.Object
-
- io.dialob.program.expr.arith.ImmutableToLowerCaseOperator
-
- All Implemented Interfaces:
ToLowerCaseOperator,Expression,Serializable
@ParametersAreNonnullByDefault @Generated("org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableToLowerCaseOperator extends Object implements ToLowerCaseOperator
Immutable implementation ofToLowerCaseOperator.Use the builder to create immutable instances:
ImmutableToLowerCaseOperator.builder(). Use the static factory method to create immutable instances:ImmutableToLowerCaseOperator.lowerCaseOf().- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImmutableToLowerCaseOperator.BuilderBuilds instances of typeImmutableToLowerCaseOperator.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImmutableToLowerCaseOperator.Builderbuilder()Creates a builder forImmutableToLowerCaseOperator.static ImmutableToLowerCaseOperatorcopyOf(ToLowerCaseOperator instance)Creates an immutable copy of aToLowerCaseOperatorvalue.booleanequals(Object another)This instance is equal to all instances ofImmutableToLowerCaseOperatorthat have equal attribute values.ExpressiongetExpression()inthashCode()Computes a hash code from attributes:expression.static ImmutableToLowerCaseOperatorlowerCaseOf(Expression expression)Construct a new immutableToLowerCaseOperatorinstance.StringtoString()Prints the immutable valueToLowerCaseOperatorwith attribute values.ImmutableToLowerCaseOperatorwithExpression(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, wait
-
Methods inherited from interface io.dialob.program.expr.arith.ToLowerCaseOperator
eval, getEvalRequiredConditions, getValueType
-
-
-
-
Method Detail
-
getExpression
public Expression getExpression()
- Specified by:
getExpressionin interfaceToLowerCaseOperator- Returns:
- The value of the
expressionattribute
-
withExpression
public final ImmutableToLowerCaseOperator withExpression(Expression value)
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 of the
thisobject
-
equals
public boolean equals(@Nullable Object another)This instance is equal to all instances ofImmutableToLowerCaseOperatorthat have equal attribute values.
-
hashCode
public int hashCode()
Computes a hash code from attributes:expression.
-
toString
public String toString()
Prints the immutable valueToLowerCaseOperatorwith attribute values.
-
lowerCaseOf
public static ImmutableToLowerCaseOperator lowerCaseOf(Expression expression)
Construct a new immutableToLowerCaseOperatorinstance.- Parameters:
expression- The value for theexpressionattribute- Returns:
- An immutable ToLowerCaseOperator instance
-
copyOf
public static ImmutableToLowerCaseOperator copyOf(ToLowerCaseOperator instance)
Creates an immutable copy of aToLowerCaseOperatorvalue. 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 ToLowerCaseOperator instance
-
builder
public static ImmutableToLowerCaseOperator.Builder builder()
Creates a builder forImmutableToLowerCaseOperator.ImmutableToLowerCaseOperator.builder() .expression(io.dialob.program.model.Expression) // requiredexpression.build();- Returns:
- A new ImmutableToLowerCaseOperator builder
-
-