corda / net.corda.core.schemas

Package net.corda.core.schemas

Types

CommonSchema

JPA representation of the common schema entities

object CommonSchema

CommonSchemaV1

First version of the Vault ORM schema

object CommonSchemaV1 : MappedSchema

DirectStatePersistable

Marker interface to denote a persistable Corda state entity that exposes the transaction id and index as composite key called stateRef.

interface DirectStatePersistable : StatePersistable

IndirectStatePersistable

Marker interface to denote a persistable Corda state entity that exposes the transaction id and index as a nested composite key called compositeKey that is itself a DirectStatePersistable. i.e. exposes a stateRef.

interface IndirectStatePersistable<T : DirectStatePersistable> : StatePersistable

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.

open class MappedSchema

MappedSchemaValidator

object MappedSchemaValidator

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

class PersistentState : DirectStatePersistable

PersistentStateRef

Embedded StateRef representation used in state mapping.

data class PersistentStateRef : Serializable

QueryableState

A contract state that may be mapped to database schemas configured for this node to support querying for, or filtering of, states.

interface QueryableState : ContractState

StatePersistable

Marker interface to denote a persistable Corda state entity that will always have a transaction id and index

interface StatePersistable