Class ImmutableNowExpression
java.lang.Object
io.dialob.session.engine.program.expr.arith.ImmutableNowExpression
- All Implemented Interfaces:
NowExpression,Expression,Serializable
@Generated(from="NowExpression",
generator="Immutables")
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
@CheckReturnValue
public final class ImmutableNowExpression
extends Object
implements NowExpression
Immutable implementation of
NowExpression.
Use the builder to create immutable instances:
ImmutableNowExpression.builder().
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeImmutableNowExpression. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forImmutableNowExpression.static ImmutableNowExpressioncopyOf(NowExpression instance) Creates an immutable copy of aNowExpressionvalue.booleanThis instance is equal to all instances ofImmutableNowExpressionthat have equal attribute values.inthashCode()Returns a constant hash code value.toString()Prints the immutable valueNowExpression.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.dialob.session.engine.program.model.Expression
getEvalRequiredConditionsMethods inherited from interface io.dialob.session.engine.program.expr.arith.NowExpression
eval, getValueType
-
Method Details
-
equals
This instance is equal to all instances ofImmutableNowExpressionthat have equal attribute values. -
hashCode
public int hashCode()Returns a constant hash code value. -
toString
Prints the immutable valueNowExpression. -
copyOf
Creates an immutable copy of aNowExpressionvalue. 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 NowExpression instance
-
builder
Creates a builder forImmutableNowExpression.ImmutableNowExpression.builder() .build();- Returns:
- A new ImmutableNowExpression builder
-