Schema

annotation class Schema(entities: Array<KClass<*>>)

Annotates an otherwise unused type with a set of the Node-annotated classes which are all part of this schema.

@Schema(entities = [
Box::class,
Button::class,
Text::class,
])
interface Name

Constructors

Schema
Link copied to clipboard
fun Schema(entities: Array<KClass<*>>)

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
toString
Link copied to clipboard
open fun toString(): String

Properties

entities
Link copied to clipboard
val entities: Array<KClass<*>>