Package io.dialob.program.expr.arith
Class ImmutableIsInactiveOrNullOperator
- java.lang.Object
-
- io.dialob.program.expr.arith.ImmutableIsInactiveOrNullOperator
-
- All Implemented Interfaces:
IsInactiveOrNullOperator,Expression,Serializable
@ParametersAreNonnullByDefault @Generated("org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableIsInactiveOrNullOperator extends Object implements IsInactiveOrNullOperator
Immutable implementation ofIsInactiveOrNullOperator.Use the builder to create immutable instances:
ImmutableIsInactiveOrNullOperator.builder(). Use the static factory method to create immutable instances:ImmutableIsInactiveOrNullOperator.of().- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImmutableIsInactiveOrNullOperator.BuilderBuilds instances of typeImmutableIsInactiveOrNullOperator.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImmutableIsInactiveOrNullOperator.Builderbuilder()Creates a builder forImmutableIsInactiveOrNullOperator.static ImmutableIsInactiveOrNullOperatorcopyOf(IsInactiveOrNullOperator instance)Creates an immutable copy of aIsInactiveOrNullOperatorvalue.booleanequals(Object another)This instance is equal to all instances ofImmutableIsInactiveOrNullOperatorthat have equal attribute values.ItemIdgetItemId()inthashCode()Computes a hash code from attributes:itemId.static ImmutableIsInactiveOrNullOperatorof(ItemId itemId)Construct a new immutableIsInactiveOrNullOperatorinstance.StringtoString()Prints the immutable valueIsInactiveOrNullOperatorwith attribute values.ImmutableIsInactiveOrNullOperatorwithItemId(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.IsInactiveOrNullOperator
eval, getEvalRequiredConditions, getValueType
-
-
-
-
Method Detail
-
getItemId
public ItemId getItemId()
- Specified by:
getItemIdin interfaceIsInactiveOrNullOperator- Returns:
- The value of the
itemIdattribute
-
withItemId
public final ImmutableIsInactiveOrNullOperator 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 ofImmutableIsInactiveOrNullOperatorthat have equal attribute values.
-
hashCode
public int hashCode()
Computes a hash code from attributes:itemId.
-
toString
public String toString()
Prints the immutable valueIsInactiveOrNullOperatorwith attribute values.
-
of
public static ImmutableIsInactiveOrNullOperator of(ItemId itemId)
Construct a new immutableIsInactiveOrNullOperatorinstance.- Parameters:
itemId- The value for theitemIdattribute- Returns:
- An immutable IsInactiveOrNullOperator instance
-
copyOf
public static ImmutableIsInactiveOrNullOperator copyOf(IsInactiveOrNullOperator instance)
Creates an immutable copy of aIsInactiveOrNullOperatorvalue. 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 IsInactiveOrNullOperator instance
-
builder
public static ImmutableIsInactiveOrNullOperator.Builder builder()
Creates a builder forImmutableIsInactiveOrNullOperator.ImmutableIsInactiveOrNullOperator.builder() .itemId(io.dialob.executor.model.ItemId) // requireditemId.build();- Returns:
- A new ImmutableIsInactiveOrNullOperator builder
-
-