Class ImmutableIsInvalidAnswersOnActivePage
java.lang.Object
io.dialob.session.engine.program.expr.arith.ImmutableIsInvalidAnswersOnActivePage
- All Implemented Interfaces:
IsInvalidAnswersOnActivePage,Expression,Serializable
@Generated(from="IsInvalidAnswersOnActivePage",
generator="Immutables")
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
@CheckReturnValue
public final class ImmutableIsInvalidAnswersOnActivePage
extends Object
implements IsInvalidAnswersOnActivePage
Immutable implementation of
IsInvalidAnswersOnActivePage.
Use the builder to create immutable instances:
ImmutableIsInvalidAnswersOnActivePage.builder().
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeImmutableIsInvalidAnswersOnActivePage. -
Field Summary
Fields inherited from interface io.dialob.session.engine.program.expr.arith.IsInvalidAnswersOnActivePage
ANY_ERROR -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forImmutableIsInvalidAnswersOnActivePage.copyOf(IsInvalidAnswersOnActivePage instance) Creates an immutable copy of aIsInvalidAnswersOnActivePagevalue.booleanThis instance is equal to all instances ofImmutableIsInvalidAnswersOnActivePagethat have equal attribute values.inthashCode()Computes a hash code from attributes:pageContainerId.toString()Prints the immutable valueIsInvalidAnswersOnActivePagewith attribute values.withPageContainerId(ItemId value) Copy the current immutable object by setting a value for thepageContainerIdattribute.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.IsInvalidAnswersOnActivePage
eval, findQuestionItems, getEvalRequiredConditions, getValueType
-
Method Details
-
getPageContainerId
- Specified by:
getPageContainerIdin interfaceIsInvalidAnswersOnActivePage- Returns:
- The value of the
pageContainerIdattribute
-
withPageContainerId
Copy the current immutable object by setting a value for thepageContainerIdattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for pageContainerId- Returns:
- A modified copy or the
thisobject
-
equals
This instance is equal to all instances ofImmutableIsInvalidAnswersOnActivePagethat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:pageContainerId. -
toString
Prints the immutable valueIsInvalidAnswersOnActivePagewith attribute values. -
copyOf
Creates an immutable copy of aIsInvalidAnswersOnActivePagevalue. 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 IsInvalidAnswersOnActivePage instance
-
builder
Creates a builder forImmutableIsInvalidAnswersOnActivePage.ImmutableIsInvalidAnswersOnActivePage.builder() .pageContainerId(io.dialob.session.engine.session.model.ItemId) // requiredpageContainerId.build();- Returns:
- A new ImmutableIsInvalidAnswersOnActivePage builder
-