Class ImmutableRowCanBeRemovedUpdatedEvent
java.lang.Object
io.dialob.session.engine.session.command.event.ImmutableRowCanBeRemovedUpdatedEvent
- All Implemented Interfaces:
AttributeEvent,Event,RowCanBeRemovedUpdatedEvent,Serializable
@Generated(from="RowCanBeRemovedUpdatedEvent",
generator="Immutables")
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
@CheckReturnValue
public final class ImmutableRowCanBeRemovedUpdatedEvent
extends Object
implements RowCanBeRemovedUpdatedEvent
Immutable implementation of
RowCanBeRemovedUpdatedEvent.
Use the builder to create immutable instances:
ImmutableRowCanBeRemovedUpdatedEvent.builder().
Use the static factory method to create immutable instances:
ImmutableRowCanBeRemovedUpdatedEvent.of().
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeImmutableRowCanBeRemovedUpdatedEvent. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forImmutableRowCanBeRemovedUpdatedEvent.copyOf(RowCanBeRemovedUpdatedEvent instance) Creates an immutable copy of aRowCanBeRemovedUpdatedEventvalue.booleanThis instance is equal to all instances ofImmutableRowCanBeRemovedUpdatedEventthat have equal attribute values.inthashCode()Computes a hash code from attributes:target.of(TargetEvent target) Construct a new immutableRowCanBeRemovedUpdatedEventinstance.toString()Prints the immutable valueRowCanBeRemovedUpdatedEventwith attribute values.withTarget(TargetEvent value) Copy the current immutable object by setting a value for thetargetattribute.
-
Method Details
-
getTarget
- Specified by:
getTargetin interfaceAttributeEvent- Returns:
- The value of the
targetattribute
-
withTarget
Copy the current immutable object by setting a value for thetargetattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for target- Returns:
- A modified copy or the
thisobject
-
equals
This instance is equal to all instances ofImmutableRowCanBeRemovedUpdatedEventthat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:target. -
toString
Prints the immutable valueRowCanBeRemovedUpdatedEventwith attribute values. -
of
Construct a new immutableRowCanBeRemovedUpdatedEventinstance.- Parameters:
target- The value for thetargetattribute- Returns:
- An immutable RowCanBeRemovedUpdatedEvent instance
-
copyOf
Creates an immutable copy of aRowCanBeRemovedUpdatedEventvalue. 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 RowCanBeRemovedUpdatedEvent instance
-
builder
Creates a builder forImmutableRowCanBeRemovedUpdatedEvent.ImmutableRowCanBeRemovedUpdatedEvent.builder() .target(io.dialob.session.engine.session.command.event.TargetEvent) // requiredtarget.build();- Returns:
- A new ImmutableRowCanBeRemovedUpdatedEvent builder
-