commonMain.cccev.f2.concept.domain.query.GetInformationConceptsQuery.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cccev-concept-f2-domain Show documentation
Show all versions of cccev-concept-f2-domain Show documentation
Kotlin implementation of Core Criterion and Core Evidence Vocabulary
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