Package io.dialob.program.expr.arith
Class ImmutableIsBlankOperator
- java.lang.Object
-
- io.dialob.program.expr.arith.ImmutableIsBlankOperator
-
- All Implemented Interfaces:
IsBlankOperator,Expression,Serializable
@ParametersAreNonnullByDefault @Generated("org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableIsBlankOperator extends Object implements IsBlankOperator
Immutable implementation ofIsBlankOperator.Use the builder to create immutable instances:
ImmutableIsBlankOperator.builder().- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImmutableIsBlankOperator.BuilderBuilds instances of typeImmutableIsBlankOperator.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImmutableIsBlankOperator.Builderbuilder()Creates a builder forImmutableIsBlankOperator.static ImmutableIsBlankOperatorcopyOf(IsBlankOperator instance)Creates an immutable copy of aIsBlankOperatorvalue.booleanequals(Object another)This instance is equal to all instances ofImmutableIsBlankOperatorthat have equal attribute values.ItemIdgetQuestionId()inthashCode()Computes a hash code from attributes:questionId.StringtoString()Prints the immutable valueIsBlankOperatorwith attribute values.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, wait
-
Methods inherited from interface io.dialob.program.expr.arith.IsBlankOperator
eval, getEvalRequiredConditions, getValueType
-
-
-
-
Method Detail
-
getQuestionId
public ItemId getQuestionId()
- Specified by:
getQuestionIdin interfaceIsBlankOperator- Returns:
- The value of the
questionIdattribute
-
withQuestionId
public final ImmutableIsBlankOperator withQuestionId(ItemId value)
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 of the
thisobject
-
equals
public boolean equals(@Nullable Object another)This instance is equal to all instances ofImmutableIsBlankOperatorthat have equal attribute values.
-
hashCode
public int hashCode()
Computes a hash code from attributes:questionId.
-
toString
public String toString()
Prints the immutable valueIsBlankOperatorwith attribute values.
-
copyOf
public static ImmutableIsBlankOperator copyOf(IsBlankOperator instance)
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
public static ImmutableIsBlankOperator.Builder builder()
Creates a builder forImmutableIsBlankOperator.ImmutableIsBlankOperator.builder() .questionId(io.dialob.executor.model.ItemId) // requiredquestionId.build();- Returns:
- A new ImmutableIsBlankOperator builder
-
-