mirror of
https://github.com/corda/corda.git
synced 2025-02-21 09:51:57 +00:00
Minor: MappedSchema is now open rather than abstract (it had no abstract members)
This commit is contained in:
parent
8d538e14a0
commit
839cc04844
@ -37,9 +37,9 @@ interface QueryableState : ContractState {
|
|||||||
* @param version The version number of this instance within the family.
|
* @param version The version number of this instance within the family.
|
||||||
* @param mappedTypes The JPA entity classes that the ORM layer needs to be configure with for this schema.
|
* @param mappedTypes The JPA entity classes that the ORM layer needs to be configure with for this schema.
|
||||||
*/
|
*/
|
||||||
abstract class MappedSchema(schemaFamily: Class<*>,
|
open class MappedSchema(schemaFamily: Class<*>,
|
||||||
val version: Int,
|
val version: Int,
|
||||||
val mappedTypes: Iterable<Class<*>>) {
|
val mappedTypes: Iterable<Class<*>>) {
|
||||||
val name: String = schemaFamily.name
|
val name: String = schemaFamily.name
|
||||||
override fun toString(): String = "${this.javaClass.simpleName}(name=$name, version=$version)"
|
override fun toString(): String = "${this.javaClass.simpleName}(name=$name, version=$version)"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user