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

commonMain.cccev.f2.concept.domain.query.GetInformationConceptsQuery.kt Maven / Gradle / Ivy

There is a newer version: 0.15.0
Show newest version
package cccev.f2.concept.domain.query

import cccev.dsl.model.EvidenceTypeId
import cccev.dsl.model.RequirementId
import cccev.f2.concept.domain.model.RequestInformationConceptDTO
import cccev.s2.certification.domain.model.CertificationId
import f2.dsl.fnc.F2Function
import kotlin.js.JsExport
import kotlin.js.JsName

/**
 * Get information concepts
 *
 * @parent [cccev.f2.concept.domain.D2InformationConceptF2Page]
 * @child [GetInformationConceptsQueryDTO]
 * @child [GetInformationConceptsQueryResultDTO]
 * @d2 function
 */
typealias GetInformationConceptsQueryFunction = F2Function

/**
 * Information Concepts Query
 * @d2 query
 */
@JsExport
@JsName("GetInformationConceptsQueryDTO")
interface GetInformationConceptsQueryDTO {
    val id: CertificationId
    val requirement: RequirementId
    val evidenceType: EvidenceTypeId?
}

/**
 * Information concepts result
 * @d2 result
 */
@JsExport
@JsName("GetInformationConceptsQueryResultDTO")
interface GetInformationConceptsQueryResultDTO {
    val informationConcepts: List
}

/**
 * @d2 inherit
 */
class GetInformationConceptsQuery(
    override val id: CertificationId,
    override val requirement: RequirementId,
    override val evidenceType: EvidenceTypeId? = null
): GetInformationConceptsQueryDTO

/**
 * @d2 inherit
 */
class GetInformationConceptsQueryResult(
    override val informationConcepts: List
): GetInformationConceptsQueryResultDTO




© 2015 - 2024 Weber Informatics LLC | Privacy Policy