Page last modified 12:54, 2 Feb 2016 by Jussi

Mapping between schema datatypes and OCL Base types

    Table of contents

     

    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
    Menu