DataDictionary

interface DataDictionary

Exposes access to a set of known data types

Inheritors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

All known types referenced by this component. These may or may not be backed by JVM objects.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Get all relationships between domain types in this dictionary. A relationship is a property that references another DomainType (not a simple property).

Link copied to clipboard

The domain type matching these labels, if we have one

Link copied to clipboard
open fun excluding(vararg classes: Class<*>): DataDictionary
open fun excluding(classes: Collection<Class<*>>): DataDictionary

Returns a new DataDictionary excluding the specified classes. Only affects JvmType entries; DynamicTypes are preserved.

Link copied to clipboard
open fun filter(predicate: (DomainType) -> Boolean): DataDictionary

Returns a new DataDictionary containing only domain types that match the predicate.

Link copied to clipboard
open operator fun minus(clazz: Class<*>): DataDictionary

Kotlin operator for excluding a single class. Usage: dictionary - Foo::class.java

open operator fun minus(classes: Collection<Class<*>>): DataDictionary

Kotlin operator for excluding multiple classes. Usage: dictionary - setOf(Foo::class.java, Bar::class.java)