Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Similar to traditional programming languages like C, C#, etc there is a notion of static types i.e. the basic types that are defined by the TQLEngine A-Stack out-of-the box. The major advantage of ADL is the flexibility and productivity it offer to create dynamic types using simple syntax of Def XML Named Element. If you are coming from a dynamic type language, ADL will solve your performance and maintainability problems while maintaining productivity.

...

  • Atom - This is the root for all primitive types
  • System - Marker of all system types.
  • Container - Root of all composite types

 


...

List of Primitive Types inherited from Atom

 

...

languagexml
titleDifferent kinds of Atom Types
linenumberstrue

...

Atom

...

Examples of Using Primitive Types

...

Code Block
languagexml
titleZoneInfo DataModel using ZoneName as String
linenumberstrue
 
<DataModel Name="ZoneInfo">
  <String name="ZoneName"/>
</DataModel>  

 


Array of Primitive Types

Array of Primitive types is possible using Cardinality modifier at the time of usage

...

Code Block
languagexml
titleZoneInfo DataModel using ZoneName as String
linenumberstrue
<DataModel Name="ZoneInfo">
  <DateTime name="RecordDate" format="$SimpleDateFormat(yyyy-MM-dd'T'HH:mm:ss'Z')"/>
</DataModel>

 

 

...