Class ImmutableCanAddRowsOperator
java.lang.Object
io.dialob.session.engine.program.expr.arith.ImmutableCanAddRowsOperator
- All Implemented Interfaces:
CanAddRowsOperator,Expression,Serializable
@Generated(from="CanAddRowsOperator",
generator="Immutables")
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
@CheckReturnValue
public final class ImmutableCanAddRowsOperator
extends Object
implements CanAddRowsOperator
Immutable implementation of
CanAddRowsOperator.
Use the builder to create immutable instances:
ImmutableCanAddRowsOperator.builder().
Use the static factory method to create immutable instances:
ImmutableCanAddRowsOperator.of().
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeImmutableCanAddRowsOperator. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forImmutableCanAddRowsOperator.static ImmutableCanAddRowsOperatorcopyOf(CanAddRowsOperator instance) Creates an immutable copy of aCanAddRowsOperatorvalue.booleanThis instance is equal to all instances ofImmutableCanAddRowsOperatorthat have equal attribute values.inthashCode()Computes a hash code from attributes:itemId.static ImmutableCanAddRowsOperatorConstruct a new immutableCanAddRowsOperatorinstance.toString()Prints the immutable valueCanAddRowsOperatorwith attribute values.withItemId(ItemId value) Copy the current immutable object by setting a value for theitemIdattribute.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.CanAddRowsOperator
eval, getEvalRequiredConditions, getValueType
-
Method Details
-
getItemId
- Specified by:
getItemIdin interfaceCanAddRowsOperator- Returns:
- The value of the
itemIdattribute
-
withItemId
Copy the current immutable object by setting a value for theitemIdattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for itemId- Returns:
- A modified copy or the
thisobject
-
equals
This instance is equal to all instances ofImmutableCanAddRowsOperatorthat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:itemId. -
toString
Prints the immutable valueCanAddRowsOperatorwith attribute values. -
of
Construct a new immutableCanAddRowsOperatorinstance.- Parameters:
itemId- The value for theitemIdattribute- Returns:
- An immutable CanAddRowsOperator instance
-
copyOf
Creates an immutable copy of aCanAddRowsOperatorvalue. 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 CanAddRowsOperator instance
-
builder
Creates a builder forImmutableCanAddRowsOperator.ImmutableCanAddRowsOperator.builder() .itemId(io.dialob.session.engine.session.model.ItemId) // requireditemId.build();- Returns:
- A new ImmutableCanAddRowsOperator builder
-