Package io.dialob.program.expr.arith
Class ImmutableIsInvalidAnswersOnActivePage
- java.lang.Object
-
- io.dialob.program.expr.arith.ImmutableIsInvalidAnswersOnActivePage
-
- All Implemented Interfaces:
IsInvalidAnswersOnActivePage,Expression,Serializable
@ParametersAreNonnullByDefault @Generated("org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableIsInvalidAnswersOnActivePage extends Object implements IsInvalidAnswersOnActivePage
Immutable implementation ofIsInvalidAnswersOnActivePage.Use the builder to create immutable instances:
ImmutableIsInvalidAnswersOnActivePage.builder().- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImmutableIsInvalidAnswersOnActivePage.BuilderBuilds instances of typeImmutableIsInvalidAnswersOnActivePage.
-
Field Summary
-
Fields inherited from interface io.dialob.program.expr.arith.IsInvalidAnswersOnActivePage
ANY_ERROR
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImmutableIsInvalidAnswersOnActivePage.Builderbuilder()Creates a builder forImmutableIsInvalidAnswersOnActivePage.static ImmutableIsInvalidAnswersOnActivePagecopyOf(IsInvalidAnswersOnActivePage instance)Creates an immutable copy of aIsInvalidAnswersOnActivePagevalue.booleanequals(Object another)This instance is equal to all instances ofImmutableIsInvalidAnswersOnActivePagethat have equal attribute values.ItemIdgetPageContainerId()inthashCode()Computes a hash code from attributes:pageContainerId.StringtoString()Prints the immutable valueIsInvalidAnswersOnActivePagewith attribute values.ImmutableIsInvalidAnswersOnActivePagewithPageContainerId(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, wait
-
Methods inherited from interface io.dialob.program.expr.arith.IsInvalidAnswersOnActivePage
eval, findQuestionItems, getEvalRequiredConditions, getValueType
-
-
-
-
Method Detail
-
getPageContainerId
public ItemId getPageContainerId()
- Specified by:
getPageContainerIdin interfaceIsInvalidAnswersOnActivePage- Returns:
- The value of the
pageContainerIdattribute
-
withPageContainerId
public final ImmutableIsInvalidAnswersOnActivePage withPageContainerId(ItemId value)
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 of the
thisobject
-
equals
public boolean equals(@Nullable Object another)This instance is equal to all instances ofImmutableIsInvalidAnswersOnActivePagethat have equal attribute values.
-
hashCode
public int hashCode()
Computes a hash code from attributes:pageContainerId.
-
toString
public String toString()
Prints the immutable valueIsInvalidAnswersOnActivePagewith attribute values.
-
copyOf
public static ImmutableIsInvalidAnswersOnActivePage copyOf(IsInvalidAnswersOnActivePage instance)
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
public static ImmutableIsInvalidAnswersOnActivePage.Builder builder()
Creates a builder forImmutableIsInvalidAnswersOnActivePage.ImmutableIsInvalidAnswersOnActivePage.builder() .pageContainerId(io.dialob.executor.model.ItemId) // requiredpageContainerId.build();- Returns:
- A new ImmutableIsInvalidAnswersOnActivePage builder
-
-