commonMain.cccev.s2.requirement.domain.RequirementFinder.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of requirement-domain-jvm Show documentation
Show all versions of requirement-domain-jvm Show documentation
Kotlin implementation of Core Criterion and Core Evidence Vocabulary
The newest version!
package cccev.s2.requirement.domain
import cccev.dsl.model.EvidenceTypeId
import cccev.s2.concept.domain.InformationConceptId
import cccev.s2.requirement.domain.model.Requirement
import kotlinx.coroutines.flow.Flow
interface RequirementFinder {
suspend fun getOrNull(id: RequirementId): Requirement?
suspend fun get(id: RequirementId): Requirement
suspend fun listByIdWithChildrenOfType(ids: List, type: String): List
suspend fun list(
isRequirementOf: RequirementId? = null,
concept: InformationConceptId? = null,
evidenceType: EvidenceTypeId? = null
): Flow
suspend fun getOrNullByIdentifier(id: RequirementId): Requirement?
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy