corda / net.corda.core.schemas / PersistentState

PersistentState

@MappedSuperclass class PersistentState : DirectStatePersistable

A super class for all mapped states exported to a schema that ensures the StateRef appears on the database row. The StateRef will be set to the correct value by the framework (there's no need to set during mapping generation by the state itself).

Constructors

<init>

PersistentState(stateRef: PersistentStateRef? = null)

A super class for all mapped states exported to a schema that ensures the StateRef appears on the database row. The StateRef will be set to the correct value by the framework (there's no need to set during mapping generation by the state itself).

Properties

stateRef

var stateRef: PersistentStateRef?

Extension Functions

contextLogger

fun Any.contextLogger(): Logger

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

Inheritors

FungibleState

class FungibleState : PersistentState

LinearState

class LinearState : PersistentState

PersistentCashState

class PersistentCashState : PersistentState

PersistentCashState

class PersistentCashState : PersistentState