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

commonMain.cccev.f2.requirement.domain.model.RequirementDTO.kt Maven / Gradle / Ivy

There is a newer version: 0.20.0
Show newest version
package cccev.f2.requirement.domain.model

import cccev.f2.concept.domain.model.InformationConceptDTO
import cccev.f2.concept.domain.model.InformationConceptDTOBase
import cccev.f2.evidence.type.domain.model.EvidenceTypeListDTO
import cccev.f2.evidence.type.domain.model.EvidenceTypeListDTOBase
import cccev.s2.requirement.domain.RequirementId
import kotlinx.serialization.Serializable
import kotlin.js.JsExport
import kotlin.js.JsName

@JsExport
@JsName("RequirementDTO")
interface RequirementDTO {
    val id: RequirementId
    val identifier: String?
    val kind: String
    val description: String?
    val type: String?
    val name: String?
    val hasRequirement: List
    val hasQualifiedRelation: Map>
    val hasConcept: List
    val hasEvidenceTypeList: List
    val enablingCondition: String?
    val enablingConditionDependencies: List
    val required: Boolean
    val validatingCondition: String?
    val validatingConditionDependencies: List
    val order: Int?
    val properties: Map?
}

@Serializable
data class RequirementDTOBase(
    override val id: RequirementId,
    override val identifier: String? = null,
    override val kind: String,
    override val description: String? = null,
    override val type: String? = null,
    override val name: String? = null,
    override val hasRequirement: List = emptyList(),
    override val hasQualifiedRelation: Map> = emptyMap(),
    override val hasConcept: List = emptyList(),
    override val hasEvidenceTypeList: List = emptyList(),
    override val enablingCondition: String? = null,
    override val enablingConditionDependencies: List = emptyList(),
    override val required: Boolean = true,
    override val validatingCondition: String? = null,
    override val validatingConditionDependencies: List = emptyList(),
    override val order: Int? = null,
    override val properties: Map? = null,
): RequirementDTO




© 2015 - 2024 Weber Informatics LLC | Privacy Policy