Class ImmutableIsBlankOperator
java.lang.Object
io.dialob.session.engine.program.expr.arith.ImmutableIsBlankOperator
- All Implemented Interfaces:
IsBlankOperator,Expression,Serializable
@Generated(from="IsBlankOperator",
generator="Immutables")
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
@CheckReturnValue
public final class ImmutableIsBlankOperator
extends Object
implements IsBlankOperator
Immutable implementation of
IsBlankOperator.
Use the builder to create immutable instances:
ImmutableIsBlankOperator.builder().
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeImmutableIsBlankOperator. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forImmutableIsBlankOperator.static ImmutableIsBlankOperatorcopyOf(IsBlankOperator instance) Creates an immutable copy of aIsBlankOperatorvalue.booleanThis instance is equal to all instances ofImmutableIsBlankOperatorthat have equal attribute values.inthashCode()Computes a hash code from attributes:questionId.toString()Prints the immutable valueIsBlankOperatorwith attribute values.final ImmutableIsBlankOperatorwithQuestionId(ItemId value) Copy the current immutable object by setting a value for thequestionIdattribute.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.IsBlankOperator
eval, getEvalRequiredConditions, getValueType
-
Method Details
-
getQuestionId
- Specified by:
getQuestionIdin interfaceIsBlankOperator- Returns:
- The value of the
questionIdattribute
-
withQuestionId
Copy the current immutable object by setting a value for thequestionIdattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for questionId- Returns:
- A modified copy or the
thisobject
-
equals
This instance is equal to all instances ofImmutableIsBlankOperatorthat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:questionId. -
toString
Prints the immutable valueIsBlankOperatorwith attribute values. -
copyOf
Creates an immutable copy of aIsBlankOperatorvalue. 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 IsBlankOperator instance
-
builder
Creates a builder forImmutableIsBlankOperator.ImmutableIsBlankOperator.builder() .questionId(io.dialob.session.engine.session.model.ItemId) // requiredquestionId.build();- Returns:
- A new ImmutableIsBlankOperator builder
-