Class ImmutableIsNullOperator
java.lang.Object
io.dialob.session.engine.program.expr.arith.ImmutableIsNullOperator
- All Implemented Interfaces:
IsNullOperator,Expression,Serializable
@Generated(from="IsNullOperator",
generator="Immutables")
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
@CheckReturnValue
public final class ImmutableIsNullOperator
extends Object
implements IsNullOperator
Immutable implementation of
IsNullOperator.
Use the builder to create immutable instances:
ImmutableIsNullOperator.builder().
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeImmutableIsNullOperator. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forImmutableIsNullOperator.static ImmutableIsNullOperatorcopyOf(IsNullOperator instance) Creates an immutable copy of aIsNullOperatorvalue.booleanThis instance is equal to all instances ofImmutableIsNullOperatorthat have equal attribute values.inthashCode()Computes a hash code from attributes:itemId.toString()Prints the immutable valueIsNullOperatorwith attribute values.final 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, waitMethods inherited from interface io.dialob.session.engine.program.expr.arith.IsNullOperator
eval, getEvalRequiredConditions, getValueType
-
Method Details
-
getItemId
- Specified by:
getItemIdin interfaceIsNullOperator- Returns:
- The value of the
itemIdattribute
-
withItemId
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 or the
thisobject
-
equals
This instance is equal to all instances ofImmutableIsNullOperatorthat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:itemId. -
toString
Prints the immutable valueIsNullOperatorwith attribute values. -
copyOf
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
Creates a builder forImmutableIsNullOperator.ImmutableIsNullOperator.builder() .itemId(io.dialob.session.engine.session.model.ItemId) // requireditemId.build();- Returns:
- A new ImmutableIsNullOperator builder
-