From 2eb965e563204dda279b1c4d934d78248e8b5907 Mon Sep 17 00:00:00 2001 From: Alexander Nozik Date: Sat, 18 Nov 2023 22:48:10 +0300 Subject: [PATCH] Type -> DfId Add descriptor to MetaConverter --- .../kotlin/space/kscience/dataforge/misc/{Type.kt => DfId.kt} | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) rename dataforge-meta/src/commonMain/kotlin/space/kscience/dataforge/misc/{Type.kt => DfId.kt} (59%) diff --git a/dataforge-meta/src/commonMain/kotlin/space/kscience/dataforge/misc/Type.kt b/dataforge-meta/src/commonMain/kotlin/space/kscience/dataforge/misc/DfId.kt similarity index 59% rename from dataforge-meta/src/commonMain/kotlin/space/kscience/dataforge/misc/Type.kt rename to dataforge-meta/src/commonMain/kotlin/space/kscience/dataforge/misc/DfId.kt index 3deaa63e..5d485e23 100644 --- a/dataforge-meta/src/commonMain/kotlin/space/kscience/dataforge/misc/Type.kt +++ b/dataforge-meta/src/commonMain/kotlin/space/kscience/dataforge/misc/DfId.kt @@ -2,9 +2,7 @@ package space.kscience.dataforge.misc /** * A text label for internal DataForge type classification. Alternative for mime container type. - * - * The DataForge type notation presumes that type `A.B.C` is the subtype of `A.B` */ @MustBeDocumented @Target(AnnotationTarget.CLASS) -public annotation class Type(val id: String) +public annotation class DfId(val id: String)