WriteKind
enum WriteKind : Enum<WriteKind>
How an object came to be in the store after a transaction wrote it.
Entries
| MUTATE | MUTATE The object existed already and the transaction changed its contents. |
| CREATE | CREATE The transaction created the object. |
| UNWRAP | UNWRAP The object was wrapped inside another object, and the transaction restored it to the store. |
Properties
| Name | Summary |
|---|---|
| entries | val entries: EnumEntries<WriteKind> Returns a representation of an immutable list of all enum entries, in the order they're declared. |
| name | val name: String |
| ordinal | val ordinal: Int |
Functions
| Name | Summary |
|---|---|
| valueOf | fun valueOf(value: String): WriteKind Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.) |
| values | fun values(): Array<WriteKind> Returns an array containing the constants of this enum type, in the order they're declared. |
CREATE
The transaction created the object.
Properties
| Name | Summary |
|---|---|
| name | val name: String |
| ordinal | val ordinal: Int |
MUTATE
The object existed already and the transaction changed its contents.
Properties
| Name | Summary |
|---|---|
| name | val name: String |
| ordinal | val ordinal: Int |
UNWRAP
The object was wrapped inside another object, and the transaction restored it to the store.
Properties
| Name | Summary |
|---|---|
| name | val name: String |
| ordinal | val ordinal: Int |