Enumeration ParameterType
Allowed data types for parameters defined in a parameter declaration. The types mentioned here match the corresponding datatypes the W3C XML Schema defines.
- Used in:
-
ParameterDeclaration ,
VariableDeclaration
Enumeration Literals |
|
Name |
Applied Stereotypes |
Description |
|
boolean |
|
Boolean - true or false. |
|
dateTime |
|
DateTime - Instant of time (Gregorian calendar). |
|
double |
|
Double - IEEE 64-bit floating-point. |
D |
integer |
deprecated
|
Integer (32-bit signed integer, equivalent to "int"). |
|
string |
|
String. |
|
unsignedInt |
|
UnsignedInt - Unsigned integer of 32 bits. |
|
unsignedShort |
|
UnsignedShort - Unsigned integer of 16 bits. |
|
int |
|
Int - 32-bit signed integer. |
|
Deprecation |
- Enumeration literal integer deprecated. With version 1.2. Deprecated for consistency with xsd type. Use int instead.
|
XSD 1.3 Representation |
<xsd:simpleType name="ParameterType">
<xsd:union>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="boolean"/>
<xsd:enumeration value="dateTime"/>
<xsd:enumeration value="double"/>
<xsd:enumeration value="integer">
<xsd:annotation>
<xsd:appinfo>
deprecated
</xsd:appinfo>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="string"/>
<xsd:enumeration value="unsignedInt"/>
<xsd:enumeration value="unsignedShort"/>
<xsd:enumeration value="int"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType>
<xsd:restriction base="parameter"/>
</xsd:simpleType>
</xsd:union>
</xsd:simpleType>
|
|
Stereotype Details Information |
- Enumeration literal integer
- deprecated [withVersion: "1.2"; comment: "Deprecated for consistency with xsd type. Use int instead."]
|
To XSD