All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.beeproduced.bee.fetched.annotations.BeeFetched.kt Maven / Gradle / Ivy

There is a newer version: 0.4.0
Show newest version
package com.beeproduced.bee.fetched.annotations

import kotlin.reflect.KClass

/**
 *
 *
 * @author Kacper Urbaniec
 * @version 2023-08-07
 */
@Target(AnnotationTarget.CLASS)
annotation class BeeFetched(
    val mappings: Array = [],
    val internalTypes: Array = [],
    val ignore: Array = [],
    val safeMode: Boolean = true,
    val safeModeOverrides: Array = []
)

annotation class FetcherMapping(
    val target: KClass<*>,
    val property: String,
    val idProperty: String
)

annotation class FetcherIgnore(
    val target: KClass<*>,
    val property: String = "",
)

annotation class FetcherInternalType(
    val target: KClass<*>,
    val internal: KClass<*>,
    val property: String = ""
)

annotation class FetcherSafeModeOverride(
    val target: KClass<*>,
    val property: String,
    val safeMode: Boolean,
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy