Package org.babyfish.jimmer.kt

Types

Link copied to clipboard
annotation class DslScope
Link copied to clipboard
value class ImmutableCreator<T : Any>

Functions

Link copied to clipboard
fun <T : Any, X> get(obj: T, prop: KProperty1<T, X>): X
Link copied to clipboard
fun <T : Any> isLoaded(obj: T, prop: KProperty1<T, *>): Boolean
Link copied to clipboard
inline fun <T : Any> makeIdOnly(id: Any): T
fun <T : Any> makeIdOnly(type: KClass<T>, id: Any): T
Link copied to clipboard
inline fun <T : Any> makeNullableIdOnly(id: Any?): T?
fun <T : Any> makeNullableIdOnly(type: KClass<T>, id: Any?): T?
Link copied to clipboard
fun <T, Static> ImmutableConverter.Builder<T, Static>.map(prop: KProperty1<T, Static>): ImmutableConverter.Builder<T, Static>
fun <T, Static> ImmutableConverter.Builder<T, Static>.map(prop: KProperty1<T, *>, staticProp: KProperty1<Static, *>): ImmutableConverter.Builder<T, Static>
fun <T, Static, Y> ImmutableConverter.Builder<T, Static>.map(prop: KProperty1<T, Y?>, block: ImmutableConverter.Mapping<Static, *, Y>.() -> Unit): ImmutableConverter.Builder<T, Static>
fun <T, Static, X, Y> ImmutableConverter.Builder<T, Static>.map(prop: KProperty1<T, Y?>, staticProp: KProperty1<Static, X?>, block: ImmutableConverter.Mapping<Static, X, Y>.() -> Unit): ImmutableConverter.Builder<T, Static>
Link copied to clipboard
fun <T, Static> ImmutableConverter.Builder<T, Static>.mapList(prop: KProperty1<T, List<*>>): ImmutableConverter.Builder<T, Static>
fun <T, Static> ImmutableConverter.Builder<T, Static>.mapList(prop: KProperty1<T, List<*>>, staticProp: KProperty1<Static, List<*>>): ImmutableConverter.Builder<T, Static>
fun <T, Static, Y> ImmutableConverter.Builder<T, Static>.mapList(prop: KProperty1<T, List<Y>>, block: ImmutableConverter.ListMapping<Static, *, Y>.() -> Unit): ImmutableConverter.Builder<T, Static>
fun <T, Static, X, Y> ImmutableConverter.Builder<T, Static>.mapList(prop: KProperty1<T, List<Y>>, staticProp: KProperty1<Static, List<X>>, block: ImmutableConverter.ListMapping<Static, X, Y>.() -> Unit): ImmutableConverter.Builder<T, Static>
Link copied to clipboard
fun <T : Any> new(type: KClass<T>): ImmutableCreator<T>
Link copied to clipboard
fun <T, X> set(draft: T, prop: KProperty1<T, X>, value: X)
Link copied to clipboard
fun KProperty1<*, *>.toImmutableProp(): ImmutableProp
Link copied to clipboard
fun <T> unload(draft: T, prop: KProperty1<T, *>)
Link copied to clipboard
fun <T, Static> ImmutableConverter.Builder<T, Static>.unmapStaticProps(vararg staticProps: KProperty1<Static, *>): ImmutableConverter.Builder<T, Static>
fun <T, Static> ImmutableConverter.Builder<T, Static>.unmapStaticProps(staticProps: Collection<KProperty1<Static, *>>): ImmutableConverter.Builder<T, Static>