Class ImmutableValueSetEntryToStringOperator
java.lang.Object
io.dialob.session.engine.program.expr.arith.ImmutableValueSetEntryToStringOperator
- All Implemented Interfaces:
ValueSetEntryToStringOperator,Expression,Serializable
@Generated(from="ValueSetEntryToStringOperator",
generator="Immutables")
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
@CheckReturnValue
public final class ImmutableValueSetEntryToStringOperator
extends Object
implements ValueSetEntryToStringOperator
Immutable implementation of
ValueSetEntryToStringOperator.
Use the builder to create immutable instances:
ImmutableValueSetEntryToStringOperator.builder().
Use the static factory method to create immutable instances:
ImmutableValueSetEntryToStringOperator.of().
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeImmutableValueSetEntryToStringOperator. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forImmutableValueSetEntryToStringOperator.copyOf(ValueSetEntryToStringOperator instance) Creates an immutable copy of aValueSetEntryToStringOperatorvalue.booleanThis instance is equal to all instances ofImmutableValueSetEntryToStringOperatorthat have equal attribute values.inthashCode()Computes a hash code from attributes:valueSetId,expression.of(ValueSetId valueSetId, Expression expression) Construct a new immutableValueSetEntryToStringOperatorinstance.toString()Prints the immutable valueValueSetEntryToStringOperatorwith attribute values.withExpression(Expression value) Copy the current immutable object by setting a value for theexpressionattribute.withValueSetId(ValueSetId value) Copy the current immutable object by setting a value for thevalueSetIdattribute.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.ValueSetEntryToStringOperator
eval, getEvalRequiredConditions, getValueType
-
Method Details
-
getValueSetId
- Specified by:
getValueSetIdin interfaceValueSetEntryToStringOperator- Returns:
- The value of the
valueSetIdattribute
-
getExpression
- Specified by:
getExpressionin interfaceValueSetEntryToStringOperator- Returns:
- The value of the
expressionattribute
-
withValueSetId
Copy the current immutable object by setting a value for thevalueSetIdattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for valueSetId- Returns:
- A modified copy or the
thisobject
-
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 ofImmutableValueSetEntryToStringOperatorthat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:valueSetId,expression. -
toString
Prints the immutable valueValueSetEntryToStringOperatorwith attribute values. -
of
public static ImmutableValueSetEntryToStringOperator of(ValueSetId valueSetId, Expression expression) Construct a new immutableValueSetEntryToStringOperatorinstance.- Parameters:
valueSetId- The value for thevalueSetIdattributeexpression- The value for theexpressionattribute- Returns:
- An immutable ValueSetEntryToStringOperator instance
-
copyOf
Creates an immutable copy of aValueSetEntryToStringOperatorvalue. 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 ValueSetEntryToStringOperator instance
-
builder
Creates a builder forImmutableValueSetEntryToStringOperator.ImmutableValueSetEntryToStringOperator.builder() .valueSetId(io.dialob.session.engine.session.model.ValueSetId) // requiredvalueSetId.expression(io.dialob.session.engine.program.model.Expression) // requiredexpression.build();- Returns:
- A new ImmutableValueSetEntryToStringOperator builder
-