corda / net.corda.core.transactions / ComponentGroup

ComponentGroup

open class ComponentGroup

A ComponentGroup is used to store the full list of transaction components of the same type in serialised form. Practically, a group per component type of a transaction is required; thus, there will be a group for input states, a group for all attachments (if there are any) etc.

Constructors

<init>

ComponentGroup(groupIndex: Int, components: List<OpaqueBytes>)

A ComponentGroup is used to store the full list of transaction components of the same type in serialised form. Practically, a group per component type of a transaction is required; thus, there will be a group for input states, a group for all attachments (if there are any) etc.

Properties

components

open val components: List<OpaqueBytes>

groupIndex

open val groupIndex: Int

Extension Functions

contextLogger

fun Any.contextLogger(): Logger

When called from a companion object, returns the logger for the enclosing class.

Inheritors

FilteredComponentGroup

data class FilteredComponentGroup : ComponentGroup

A FilteredComponentGroup is used to store the filtered list of transaction components of the same type in serialised form. This is similar to ComponentGroup, but it also includes the corresponding nonce per component.