Class ImmutableSessionLocaleUpdatedEvent
java.lang.Object
io.dialob.session.engine.session.command.event.ImmutableSessionLocaleUpdatedEvent
- All Implemented Interfaces:
Event,SessionLocaleUpdatedEvent,SessionUpdatedEvent,Serializable
@Generated(from="SessionLocaleUpdatedEvent",
generator="Immutables")
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
@CheckReturnValue
public final class ImmutableSessionLocaleUpdatedEvent
extends Object
implements SessionLocaleUpdatedEvent
Immutable implementation of
SessionLocaleUpdatedEvent.
Use the builder to create immutable instances:
ImmutableSessionLocaleUpdatedEvent.builder().
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeImmutableSessionLocaleUpdatedEvent. -
Field Summary
Fields inherited from interface io.dialob.session.engine.session.command.event.SessionLocaleUpdatedEvent
INSTANCE -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forImmutableSessionLocaleUpdatedEvent.copyOf(SessionLocaleUpdatedEvent instance) Creates an immutable copy of aSessionLocaleUpdatedEventvalue.booleanThis instance is equal to all instances ofImmutableSessionLocaleUpdatedEventthat have equal attribute values.inthashCode()Returns a constant hash code value.toString()Prints the immutable valueSessionLocaleUpdatedEvent.
-
Method Details
-
equals
This instance is equal to all instances ofImmutableSessionLocaleUpdatedEventthat have equal attribute values. -
hashCode
public int hashCode()Returns a constant hash code value. -
toString
Prints the immutable valueSessionLocaleUpdatedEvent. -
copyOf
Creates an immutable copy of aSessionLocaleUpdatedEventvalue. 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 SessionLocaleUpdatedEvent instance
-
builder
Creates a builder forImmutableSessionLocaleUpdatedEvent.ImmutableSessionLocaleUpdatedEvent.builder() .build();- Returns:
- A new ImmutableSessionLocaleUpdatedEvent builder
-