corda / net.corda.finance.test / SampleCashSchemaV2

SampleCashSchemaV2

object SampleCashSchemaV2 : MappedSchema

Second version of a cash contract ORM schema that extends the CommonSchemaV1.FungibleState abstract schema.

Types

PersistentCashState

class PersistentCashState : FungibleState

Inherited Properties

mappedTypes

val mappedTypes: Iterable<Class<*>>

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

migrationResource

open val migrationResource: String?

Optional classpath resource containing the database changes for the mappedTypes

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(): Logger

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