net.corda.core.schemas

Package net.corda.core.schemas

Types

MappedSchema abstract 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.

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).

PersistentStateRef data class PersistentStateRef : Serializable

Embedded StateRef representation used in state mapping.

QueryableState interface QueryableState : ContractState

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