Package io.dialob.program.expr.arith
Class ImmutableTodayExpression
- java.lang.Object
-
- io.dialob.program.expr.arith.ImmutableTodayExpression
-
- All Implemented Interfaces:
TodayExpression,Expression,Serializable
@ParametersAreNonnullByDefault @Generated("org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableTodayExpression extends Object implements TodayExpression
Immutable implementation ofTodayExpression.Use the builder to create immutable instances:
ImmutableTodayExpression.builder().- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImmutableTodayExpression.BuilderBuilds instances of typeImmutableTodayExpression.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImmutableTodayExpression.Builderbuilder()Creates a builder forImmutableTodayExpression.static ImmutableTodayExpressioncopyOf(TodayExpression instance)Creates an immutable copy of aTodayExpressionvalue.booleanequals(Object another)This instance is equal to all instances ofImmutableTodayExpressionthat have equal attribute values.inthashCode()Returns a constant hash code value.StringtoString()Prints the immutable valueTodayExpression.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.dialob.program.model.Expression
getEvalRequiredConditions
-
Methods inherited from interface io.dialob.program.expr.arith.TodayExpression
eval, getValueType
-
-
-
-
Method Detail
-
equals
public boolean equals(@Nullable Object another)This instance is equal to all instances ofImmutableTodayExpressionthat have equal attribute values.
-
hashCode
public int hashCode()
Returns a constant hash code value.
-
toString
public String toString()
Prints the immutable valueTodayExpression.
-
copyOf
public static ImmutableTodayExpression copyOf(TodayExpression instance)
Creates an immutable copy of aTodayExpressionvalue. 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 TodayExpression instance
-
builder
public static ImmutableTodayExpression.Builder builder()
Creates a builder forImmutableTodayExpression.ImmutableTodayExpression.builder() .build();- Returns:
- A new ImmutableTodayExpression builder
-
-