Package io.dialob.program.expr.arith
Class ImmutableIsNullOperator
- java.lang.Object
-
- io.dialob.program.expr.arith.ImmutableIsNullOperator
-
- All Implemented Interfaces:
IsNullOperator,Expression,Serializable
@ParametersAreNonnullByDefault @Generated("org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableIsNullOperator extends Object implements IsNullOperator
Immutable implementation ofIsNullOperator.Use the builder to create immutable instances:
ImmutableIsNullOperator.builder().- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImmutableIsNullOperator.BuilderBuilds instances of typeImmutableIsNullOperator.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImmutableIsNullOperator.Builderbuilder()Creates a builder forImmutableIsNullOperator.static ImmutableIsNullOperatorcopyOf(IsNullOperator instance)Creates an immutable copy of aIsNullOperatorvalue.booleanequals(Object another)This instance is equal to all instances ofImmutableIsNullOperatorthat have equal attribute values.ItemIdgetItemId()inthashCode()Computes a hash code from attributes:itemId.StringtoString()Prints the immutable valueIsNullOperatorwith attribute values.ImmutableIsNullOperatorwithItemId(ItemId value)Copy the current immutable object by setting a value for theitemIdattribute.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.dialob.program.expr.arith.IsNullOperator
eval, getEvalRequiredConditions, getValueType
-
-
-
-
Method Detail
-
getItemId
public ItemId getItemId()
- Specified by:
getItemIdin interfaceIsNullOperator- Returns:
- The value of the
itemIdattribute
-
withItemId
public final ImmutableIsNullOperator withItemId(ItemId value)
Copy the current immutable object by setting a value for theitemIdattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for itemId- Returns:
- A modified copy of the
thisobject
-
equals
public boolean equals(@Nullable Object another)This instance is equal to all instances ofImmutableIsNullOperatorthat have equal attribute values.
-
hashCode
public int hashCode()
Computes a hash code from attributes:itemId.
-
toString
public String toString()
Prints the immutable valueIsNullOperatorwith attribute values.
-
copyOf
public static ImmutableIsNullOperator copyOf(IsNullOperator instance)
Creates an immutable copy of aIsNullOperatorvalue. 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 IsNullOperator instance
-
builder
public static ImmutableIsNullOperator.Builder builder()
Creates a builder forImmutableIsNullOperator.ImmutableIsNullOperator.builder() .itemId(io.dialob.executor.model.ItemId) // requireditemId.build();- Returns:
- A new ImmutableIsNullOperator builder
-
-