open class MappedSchema
A database schema that might be configured for this node. As well as a name and version for identifying the schema, also list the classes that may be used in the generated object graph in order to configure the ORM tool.
schemaFamily
- A class to fully qualify the name of a schema family (i.e. excludes version)
version
- The version number of this instance within the family.
mappedTypes
- The JPA entity classes that the ORM layer needs to be configure with for this schema.
MappedSchema(schemaFamily: Class<*>, version: Int, mappedTypes: Iterable<Class<*>>)
A database schema that might be configured for this node. As well as a name and version for identifying the schema, also list the classes that may be used in the generated object graph in order to configure the ORM tool. |
val mappedTypes: Iterable<Class<*>>
The JPA entity classes that the ORM layer needs to be configure with for this schema. |
|
open val migrationResource: String?
Optional classpath resource containing the database changes for the mappedTypes |
|
val name: String |
|
val version: Int
The version number of this instance within the family. |
open fun equals(other: Any?): Boolean |
|
open fun hashCode(): Int |
|
open fun toString(): String |
fun Any.contextLogger(): <ERROR CLASS>
When called from a companion object, returns the logger for the enclosing class. |
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. |
|
object CommercialPaperSchemaV1 : MappedSchema
First version of a commercial paper contract ORM schema that maps all fields of the CommercialPaper contract state as it stood at the time of writing. |
|
object CommonSchemaV1 : MappedSchema
First version of the Vault ORM schema |
|
object SampleCashSchemaV1 : 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. |
|
object SampleCashSchemaV2 : MappedSchema
Second version of a cash contract ORM schema that extends the CommonSchemaV1.FungibleState abstract schema. |
|
object SampleCashSchemaV3 : 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. |