@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","StateActionIF"}) @Immutable public final class StateAction extends Object implements StateActionIF
StateActionIF.
Use the builder to create immutable instances:
StateAction.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
StateAction.Builder
Builds instances of type
StateAction. |
| Modifier and Type | Method and Description |
|---|---|
static StateAction.Builder |
builder()
Creates a builder for
StateAction. |
static StateAction |
copyOf(StateActionIF instance)
Creates an immutable copy of a
StateActionIF value. |
boolean |
equals(Object another)
This instance is equal to all instances of
StateAction that have equal attribute values. |
Map<String,StateActionValue> |
getActionValues() |
int |
hashCode()
Computes a hash code from attributes:
actionValues. |
String |
toString()
Prints the immutable value
StateAction with attribute values. |
StateAction |
withActionValues(Map<String,? extends StateActionValue> actionValues)
Copy the current immutable object by replacing the
actionValues map with the specified map. |
public Map<String,StateActionValue> getActionValues()
getActionValues in interface StateActionIFactionValues attributepublic final StateAction withActionValues(Map<String,? extends StateActionValue> actionValues)
actionValues map with the specified map.
Nulls are not permitted as keys or values.
A shallow reference equality check is used to prevent copying of the same value by returning this.actionValues - The entries to be added to the actionValues mapthis objectpublic boolean equals(@Nullable Object another)
StateAction that have equal attribute values.public int hashCode()
actionValues.public String toString()
StateAction with attribute values.public static StateAction copyOf(StateActionIF instance)
StateActionIF value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance - The instance to copypublic static StateAction.Builder builder()
StateAction.Copyright © 2020. All rights reserved.