Added by gunther.stuhec, last edited by gunther.stuhec on Jun 28, 2007

Labels

 
(None)
  • BinaryThe primitive type "Binary" is a set of (in)finite-length sequences of binary digits
  • BooleanThe primitive type Boolean is used for logical expression, consisting of the predefined values true and false. Boolean defines an enumeration that denotes a logical condition. Its enumeration literals are: true (The Boolean condition is satisfied) false (The Boolean condition is not satisfied)
  • DateThe primitive type "Date" is a position in a time reference system that is either the gregorian calendar or a 24 hour Time-keeping system.
  • DecimalThe primitive type "Decimal" is  a subset of the real numbers, which can be represented by decimal numerals
  • IntegerThe primitive type "Integer" is element in the infinite set (...-2, -1, 0, 1, 2...)
  • StringThe primitive type "String" is sequence of characters in some suitable character set
  • TokenThe primitive type "Token" is a sequence of characters in some suitable character set, where all white spaces have been replaced by space characters, all preceding or trailing space characters have been removed and all sequences of two or more space characters have been replaced by a single space character.

Notes from CDT conference call on 20070605:

Can float and double be combined into a single primitive? Jean Luc will look at this.

Notes from CDT conference call on 20070424:Boolean will typically be used for an Indicator.
 If the semantic is carried by the CDT, then we could only make use of true/false. This would also support the KIS principle and improve interoperability. It was however also agued that the CDT could be defined as a Boolean, still allowing the BDT to further restrict the facets used. Alternatives could then be:
DoorPositionIndicator             open/close
DoorOpenIndicator                 true/false
 It was agreed to make use of the UML definition as follows: "A boolean type is used for logical expression, consisting of the predefined values true and false. Boolean defines an enumeration that denotes a logical condition. Its enumeration literals are: true (The Boolean condition is satisfied) false (The Boolean condition is not satisfied)"

Integer is declared as a primitive. But it is a prmitive type for which CDTcontent component?

Several issues on Primitive types :

as I said above what is the usage for integer in relation to a CDT Content Component? This needs to be clarified. If not, it should be remove from the primitive type list.

Float and Double could be combined in a single primitive like floating point with a facet for single and double precision, but again it will serve in which Content Component?  

Boolean. Rigth now the only usage could be for Indicator Content Component. But depending on the definition for it and for Indicator it may not be adequat (see my comments in Boolean and Indicator). If Boolean is not used it should be removed

Integer and String are both listed as PrimitiveTypes. However there is not a CDT to make use them directly. Should there be?