ChangedObject
data class ChangedObject(var objectId: ObjectId, var inputState: ObjectIn, var outputState: ObjectOut, var idOperation: IdOperation) : Disposable
Input/output state of an object that was changed during execution
BCS
The BCS serialized form of this type is specified in bcs-schema.abnf.
Constructors
| ChangedObject | constructor(objectId: ObjectId, inputState: ObjectIn, outputState: ObjectOut, idOperation: IdOperation) |
Properties
| Name | Summary |
|---|---|
| idOperation | var idOperation: IdOperation Whether this object ID is created or deleted in this transaction. This information isn't required by the protocol but is useful for providing more detailed semantics on object changes. |
| inputState | var inputState: ObjectIn State of the object in the store prior to this transaction. |
| objectId | var objectId: ObjectId Id of the object |
| outputState | var outputState: ObjectOut State of the object in the store after this transaction. |
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |