Class ImmutableNotOnPageExpression
java.lang.Object
io.dialob.session.engine.program.expr.ImmutableNotOnPageExpression
- All Implemented Interfaces:
NotOnPageExpression,Expression,Serializable
@Generated(from="NotOnPageExpression",
generator="Immutables")
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
@CheckReturnValue
public final class ImmutableNotOnPageExpression
extends Object
implements NotOnPageExpression
Immutable implementation of
NotOnPageExpression.
Use the builder to create immutable instances:
ImmutableNotOnPageExpression.builder().
Use the static factory method to create immutable instances:
ImmutableNotOnPageExpression.of().
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeImmutableNotOnPageExpression. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forImmutableNotOnPageExpression.static ImmutableNotOnPageExpressioncopyOf(NotOnPageExpression instance) Creates an immutable copy of aNotOnPageExpressionvalue.booleanThis instance is equal to all instances ofImmutableNotOnPageExpressionthat have equal attribute values.getPage()inthashCode()Computes a hash code from attributes:page.static ImmutableNotOnPageExpressionConstruct a new immutableNotOnPageExpressioninstance.toString()Prints the immutable valueNotOnPageExpressionwith attribute values.Copy the current immutable object by setting a value for thepageattribute.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.dialob.session.engine.program.expr.NotOnPageExpression
eval, getEvalRequiredConditions, getValueType
-
Method Details
-
getPage
- Specified by:
getPagein interfaceNotOnPageExpression- Returns:
- The value of the
pageattribute
-
withPage
Copy the current immutable object by setting a value for thepageattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for page- Returns:
- A modified copy or the
thisobject
-
equals
This instance is equal to all instances ofImmutableNotOnPageExpressionthat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:page. -
toString
Prints the immutable valueNotOnPageExpressionwith attribute values. -
of
Construct a new immutableNotOnPageExpressioninstance.- Parameters:
page- The value for thepageattribute- Returns:
- An immutable NotOnPageExpression instance
-
copyOf
Creates an immutable copy of aNotOnPageExpressionvalue. 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 NotOnPageExpression instance
-
builder
Creates a builder forImmutableNotOnPageExpression.ImmutableNotOnPageExpression.builder() .page(io.dialob.session.engine.session.model.ItemId) // requiredpage.build();- Returns:
- A new ImmutableNotOnPageExpression builder
-