Please check cwl:::.CWL.Pritimive, cwl:::.CWL.Complex.
Examples
PrimitiveEnum()
#> An object of class "PrimitiveSingleEnum"
#> [1] "null"
#> Slot "levels":
#> [1] "null" "boolean" "int" "long" "float" "double" "bytes"
#> [8] "string"
#>
PrimitiveEnum("boolean")
#> An object of class "PrimitiveSingleEnum"
#> [1] "boolean"
#> Slot "levels":
#> [1] "null" "boolean" "int" "long" "float" "double" "bytes"
#> [8] "string"
#>
ComplexEnum("record")
#> An object of class "ComplexSingleEnum"
#> [1] "record"
#> Slot "levels":
#> [1] "record" "enum" "array" "map"
#>
DatatypeEnum("map")
#> An object of class "DatatypeSingleEnum"
#> [1] "map"
#> Slot "levels":
#> [1] "null" "boolean" "int" "long" "float" "double" "bytes"
#> [8] "string" "record" "enum" "array" "map" "File"
#>