Class ImmutableRowItemsExpression
java.lang.Object
io.dialob.session.engine.program.expr.arith.ImmutableRowItemsExpression
- All Implemented Interfaces:
RowItemsExpression,Expression,Serializable
@Generated(from="RowItemsExpression",
generator="Immutables")
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
@CheckReturnValue
public final class ImmutableRowItemsExpression
extends Object
implements RowItemsExpression
Immutable implementation of
RowItemsExpression.
Use the builder to create immutable instances:
ImmutableRowItemsExpression.builder().
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeImmutableRowItemsExpression. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forImmutableRowItemsExpression.static ImmutableRowItemsExpressioncopyOf(RowItemsExpression instance) Creates an immutable copy of aRowItemsExpressionvalue.booleanThis instance is equal to all instances ofImmutableRowItemsExpressionthat have equal attribute values.com.google.common.collect.ImmutableList<ItemId> inthashCode()Computes a hash code from attributes:itemIds.toString()Prints the immutable valueRowItemsExpressionwith attribute values.withItemIds(ItemId... elements) Copy the current immutable object with elements that replace the content ofitemIds.withItemIds(Iterable<? extends ItemId> elements) Copy the current immutable object with elements that replace the content ofitemIds.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.dialob.session.engine.program.model.Expression
getEvalRequiredConditionsMethods inherited from interface io.dialob.session.engine.program.expr.arith.RowItemsExpression
eval, getValueType
-
Method Details
-
getItemIds
- Specified by:
getItemIdsin interfaceRowItemsExpression- Returns:
- The value of the
itemIdsattribute
-
withItemIds
Copy the current immutable object with elements that replace the content ofitemIds.- Parameters:
elements- The elements to set- Returns:
- A modified copy of
thisobject
-
withItemIds
Copy the current immutable object with elements that replace the content ofitemIds. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
elements- An iterable of itemIds elements to set- Returns:
- A modified copy or
thisif not changed
-
equals
This instance is equal to all instances ofImmutableRowItemsExpressionthat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:itemIds. -
toString
Prints the immutable valueRowItemsExpressionwith attribute values. -
copyOf
Creates an immutable copy of aRowItemsExpressionvalue. 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 RowItemsExpression instance
-
builder
Creates a builder forImmutableRowItemsExpression.ImmutableRowItemsExpression.builder() .addItemIds|addAllItemIds(io.dialob.session.engine.session.model.ItemId) //itemIdselements .build();- Returns:
- A new ImmutableRowItemsExpression builder
-