Difference between revisions of "EDT:EGL Language conversion"

From Eclipsepedia

Jump to: navigation, search
Line 15: Line 15:
 
| interval  
 
| interval  
 
| Not Supported, no replacement
 
| Not Supported, no replacement
 +
|-
 +
| Money, num, bin<br>
 +
| use Decimal<br>
 
|}
 
|}
  
 
*[[EDT:EGL Language Primitive Type Conversions]]  
 
*[[EDT:EGL Language Primitive Type Conversions]]  
*[[EDT:EGL Language System Types and Functions]]  
+
*[[EDT:EGL Language System Types and Functions]]
 +
 
 
{| width="800" cellspacing="1" cellpadding="1" border="1"
 
{| width="800" cellspacing="1" cellpadding="1" border="1"
 
|-
 
|-
Line 24: Line 28:
 
| EDT
 
| EDT
 
|-
 
|-
| system libraries
+
| system libraries  
| all needs to be fully qualified with library name <br>
+
| all needs to be fully qualified with library name <br>  
 
   i.e. sysLib, dateTimeLib, serviceLib, xmlLib...etc.
 
   i.e. sysLib, dateTimeLib, serviceLib, xmlLib...etc.
 +
 +
|-
 +
| currentTimeStamp()<br>dateTimeLib.currentTimeStamp()<br>
 +
| <br>
 +
|-
 +
| <br>
 +
| <br>
 
|}
 
|}
 +
 
*[[EDT:EGL Language Statements]]  
 
*[[EDT:EGL Language Statements]]  
*[[EDT:EGL Language Literals]]  
+
*[[EDT:EGL Language Literals]]
 +
 
 
{| width="800" cellspacing="1" cellpadding="1" border="1"
 
{| width="800" cellspacing="1" cellpadding="1" border="1"
 
|-
 
|-
Line 35: Line 48:
 
| EDT
 
| EDT
 
|-
 
|-
| matches
+
| matches  
| have to use String matchesPattern() function instead  
+
| have to use String matchesPattern() function instead
 
|}
 
|}
 +
 
*[[EDT:EGL Language Operators and Expressions]]  
 
*[[EDT:EGL Language Operators and Expressions]]  
 
*[[EDT:EGL Language Stereotypes and Annotations]]
 
*[[EDT:EGL Language Stereotypes and Annotations]]
Line 49: Line 63:
 
| no more basicLibrary
 
| no more basicLibrary
 
|-
 
|-
| annotation on Library
+
| annotation on Library  
 
| no annotation is supported on library
 
| no annotation is supported on library
 +
|-
 +
| RuntimeException<br>
 +
| no more RuntimeException, use AnyException<br>
 +
|-
 +
| IndexOutOfBoundException<br>
 +
| InvalidIndexException<br>
 
|}
 
|}

Revision as of 16:57, 26 August 2011

EGL language conversion consideration from RBD/EGLCE

RBD/EGL CE EDT
time replaced with timestamp
interval Not Supported, no replacement
Money, num, bin
use Decimal
RBD/EGL CE EDT
system libraries all needs to be fully qualified with library name
 i.e. sysLib, dateTimeLib, serviceLib, xmlLib...etc.
currentTimeStamp()
dateTimeLib.currentTimeStamp()



RBD/EGL CE EDT
matches have to use String matchesPattern() function instead
RBD/EGL CE EDT
basicLibrary no more basicLibrary
annotation on Library no annotation is supported on library
RuntimeException
no more RuntimeException, use AnyException
IndexOutOfBoundException
InvalidIndexException