com.r3corda.core.schemas / PersistentState

PersistentState

open class PersistentState

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 (theres 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 (theres no need to set during mapping generation by the state itself).

Properties

stateRef var stateRef: PersistentStateRef?

Inheritors

PersistentCashState class PersistentCashState : PersistentState
PersistentCommericalPaperState class PersistentCommericalPaperState : PersistentState