corda / net.corda.finance.schemas / CashSchemaV1

CashSchemaV1

object CashSchemaV1 : MappedSchema

First version of a cash contract ORM schema that maps all fields of the Cash contract state as it stood at the time of writing.

Types

PersistentCashState

class PersistentCashState : PersistentState

Properties

migrationResource

val migrationResource: String

Optional classpath resource containing the database changes for the mappedTypes

Inherited Properties

mappedTypes

val mappedTypes: Iterable<Class<*>>

The JPA entity classes that the ORM layer needs to be configure with for this schema.

name

val name: String

version

val version: Int

The version number of this instance within the family.

Inherited Functions

equals

open fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Extension Functions

contextLogger

fun Any.contextLogger(): <ERROR CLASS>

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