Class ImmutableCanRemoveRowOperator
- java.lang.Object
-
- io.dialob.session.engine.program.expr.arith.ImmutableCanRemoveRowOperator
-
- All Implemented Interfaces:
CanRemoveRowOperator,Expression,Serializable
@ParametersAreNonnullByDefault @Generated("org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableCanRemoveRowOperator extends Object implements CanRemoveRowOperator
Immutable implementation ofCanRemoveRowOperator.Use the builder to create immutable instances:
ImmutableCanRemoveRowOperator.builder(). Use the static factory method to create immutable instances:ImmutableCanRemoveRowOperator.of().- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImmutableCanRemoveRowOperator.BuilderBuilds instances of typeImmutableCanRemoveRowOperator.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImmutableCanRemoveRowOperator.Builderbuilder()Creates a builder forImmutableCanRemoveRowOperator.static ImmutableCanRemoveRowOperatorcopyOf(CanRemoveRowOperator instance)Creates an immutable copy of aCanRemoveRowOperatorvalue.booleanequals(Object another)This instance is equal to all instances ofImmutableCanRemoveRowOperatorthat have equal attribute values.ItemIdgetItemId()inthashCode()Computes a hash code from attributes:itemId.static ImmutableCanRemoveRowOperatorof(ItemId itemId)Construct a new immutableCanRemoveRowOperatorinstance.StringtoString()Prints the immutable valueCanRemoveRowOperatorwith attribute values.ImmutableCanRemoveRowOperatorwithItemId(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, wait
-
Methods inherited from interface io.dialob.session.engine.program.expr.arith.CanRemoveRowOperator
eval, getEvalRequiredConditions, getValueType
-
-
-
-
Method Detail
-
getItemId
public ItemId getItemId()
- Specified by:
getItemIdin interfaceCanRemoveRowOperator- Returns:
- The value of the
itemIdattribute
-
withItemId
public final ImmutableCanRemoveRowOperator withItemId(ItemId value)
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 of the
thisobject
-
equals
public boolean equals(@Nullable Object another)This instance is equal to all instances ofImmutableCanRemoveRowOperatorthat have equal attribute values.
-
hashCode
public int hashCode()
Computes a hash code from attributes:itemId.
-
toString
public String toString()
Prints the immutable valueCanRemoveRowOperatorwith attribute values.
-
of
public static ImmutableCanRemoveRowOperator of(ItemId itemId)
Construct a new immutableCanRemoveRowOperatorinstance.- Parameters:
itemId- The value for theitemIdattribute- Returns:
- An immutable CanRemoveRowOperator instance
-
copyOf
public static ImmutableCanRemoveRowOperator copyOf(CanRemoveRowOperator instance)
Creates an immutable copy of aCanRemoveRowOperatorvalue. 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 CanRemoveRowOperator instance
-
builder
public static ImmutableCanRemoveRowOperator.Builder builder()
Creates a builder forImmutableCanRemoveRowOperator.ImmutableCanRemoveRowOperator.builder() .itemId(io.dialob.session.engine.session.model.ItemId) // requireditemId.build();- Returns:
- A new ImmutableCanRemoveRowOperator builder
-
-