Mapping between schema datatypes and OCL Base types
OCL datatypes are bolded and under each OCL type is listed the schema data types which are mapped to this OCL type.
OCL datatypes are bolded and under each OCL type is listed the schema data types which are mapped to this OCL type.
- base64binary
- base64Binary
- hexBinary
- hexBinary
- datetime
- duration
- dateTime
- time
- gYearMonth
- gYear
- gMonthDay
- gDay
- gMonth
- double / decimal
- double
- decimal
- float
- date
- date
- integer
- integer
- nonPositiveInteger
- negativeInteger
- long
- int
- short
- byte
- nonNegativeInteger
- unsignedLong
- unsignedInt
- unsignedShort
- unsignedByte
- positiveInteger
- string
- string
- normalizedString
- token
- language
- Name
- NCName
- ID
- IDREF
- IDREFS
- ENTITY
- ENTITIES
- NMTOKEN
- NMTOKENSE
- QName
- NOTATION
- anyURI
- boolean
- boolean
Collection types in OCL
- Collection
- Bag
- Set
- OrderedSet
- Sequence