Skip to content

ADOxx Library Language: ALL ​

Here an overview of the ALL-file-structure:

Version of the current ALL language ​

VERSION <4.0>

Applcation Library ​

APPLICATION LIBRARY <Library_Name>

#Define RecordClass

RECORDCLASS <RC1> : <RecordClass>

#ClassAttributes of the record class.

CLASSATTRIBUTE <ClassAbstract>

VALUE 0

...

#RecordClass <RecordClass_Name> - Instance attributes

ATTRIBUTE <RecordClassAttribute_Name>

TYPE STRING

VALUE ""

FACET <MultiLineString>

VALUE 0

FACET <AttributeHelpText>

VALUE ""

FACET <AttributeRegularExpression>

VALUE ""

...

#Define AttributeProfileClass

ATTRIBUTEPROFILECLASS <AP1> : <AttributeProfileClass>

#ClassAttributes of the AttributeProfileClass

CLASSATTRIBUTE <ClassAbstract>

VALUE 0

#AttributeProfileClass <AP1> - Instance attributes

ATTRIBUTE <AP1_a1>

TYPE STRING

VALUE ""

FACET <MultiLineString>

VALUE 0

FACET <AttributeHelpText>

VALUE ""

FACET <AttributeRegularExpression>

VALUE ""

...

Dynamic Library ​

BUSINESS PROCESS LIBRARY <Dynamic_Library_Name>

#LibraryAttributesList

<Version number><Date last changed><Last user><Keywords><Comment><Description><Modi><Page layouts> <Simmapping><Simtext><Queries><Input fields><AQL commands><Result attributes><Relation analysis><Service><User defined><Library icons><Evaluation queries><Evaluation input fields><Evaluation AQL commands><Evaluation result attributes><Sim result mapping><Numbering><Graphical representation><Days per year><Hours per day><CCC mapping> <CCC default setting><Object arrangement><External coupling><Agent definition><Variable check><Configuration of documentation><Default settings> <Predefined queries><Predefined evaluation queries><Dynamic evaluation modules><Path navigator><Versioning format>

#Definition of Classes. With the ':' it is possible to define a inheritance from a MetaClass

CLASS <Hello> : <__D-construct__>

#Define ClassAttributes:

#If the defined class is abstract or not.

CLASSATTRIBUTE <ClassAbstract>

VALUE 0

#If the defined class is visible or not.

CLASSATTRIBUTE <ClassVisible>

VALUE 1

#Class <Hello> - Instance attributes

ATTRIBUTE <Value>

TYPE INTEGER

VALUE 0

FACET <MultiLineString>

VALUE 0

FACET <AttributeHelpText>

VALUE ""

FACET <AttributeRegularExpression>

VALUE ""

FACET <AttributeNumericDomain>

VALUE ""

...

#Class <Hello> - default values

ATTRIBUTE <Position>

VALUE ""

...

#RelationClass definition:

RELATIONCLASS <anyRany>

FROM <__D-construct__>

TO <__D-construct__>

#Relationclass <anyRany> - Instance attributes

ATTRIBUTE <Positions>

TYPE STRING

VALUE ""

...

Static Library ​

WORKING ENVIRONMENT LIBRARY <Static_LIbrary_Name>

#LibraryAttributesList:

<Date last changed><Last user><Keywords><Comment><Description><Modi><Page layouts> <Simmapping><Simtext><Queries><Input fields><AQL commands><Result attributes><Relation analysis><Service> <User defined><Library icons><Evaluation queries><Evaluation input fields><Evaluation AQL commands><Evaluation result attributes><Sim result mapping><Numbering><Graphical representation><Days per year><Hours per day><CCC mapping><CCC default setting><Object arrangement><External coupling><Agent definition><Variable check><Configuration of documentation><Default settings><Predefined queries><Predefined evaluation queries><Dynamic evaluation modules><Path navigator><Versioning format>

#e.g.

ATTRIBUTE <Version number>

VALUE ""

            ...

​

The following syntax is used for handling with the ALL-file. ​

all-file : [ _version ] _ libraries applicationlibraries |

_ _[version] newlib .

_version _: **VERSION ** _identifier _.

_newlib : _ applicationlib-definition { _recordclass _} { _attrprof _} _bplib welib files _.

applicationlib-definition : APPLICATION LIBRARY _identifier _.

_recordclass _: RECORDCLASS _identifier _' :' _identifier _{ _attribute _} .

_attrprof _: ATTRIBUTEPROFILECLASS _identifier _' :' _identifier _{ _attribute _} .

_bplib _: **BUSINESS PROCESS LIBRARY ** identifier { instanceattribute-setting } library .

_welib _: **WORKING ENVIRONMENT LIBRARY ** _identifier _ { instanceattribute-_setting _} _library _.

_files _: { FILE _identifier _ **CONTENT ** _val _} .

_libraries _: { we-library | bp-library } .

we-library : we-library-definition { instanceattribute-setting } library.

bp-library : bp-library-definition { _instanceattribute-setting _} library.

we-library-definition : WORKING ENVIRONMENT LIBRARY identifier' :' identifier.

bp-library-definition : BUSINESS PROCESS LIBRARY identifier' :' identifier.

library : { class} { relationclass} .

class : class-definition { attribute} |

                                                 _redef-class-definition_ { _redef-attribute_ } .

class-definition : CLASS identifier' :' identifier.

redef-class-definition : CLASS identifier .

relationclass : relationclass-definition { instanceattribute} | redef-relationclass-definition { redef-instanceattribute } .

relationclass-definition : RELATIONCLASS identifier FROM identifier TO identifier.

redef-relationclass-definition : RELATIONCLASS identifier.

attribute : attribute-definition { facet-definition } .

redef-attribute : redef-attribute-definition { facet-definition } .

_instanceattribute _: instanceattribute-definition { facet-definition } .

redef-instanceattribute : redef-instanceattribute-definition { facet-definition } .

redef-attribute-definition : redef-instanceattribute-definition | redef-classattribute-definition .|

redef-classattribute-definition :

CLASSATTRIBUTE identifier TYPE typeidentifier |

CLASSATTRIBUTE identifier TYPE typeidentifier VALUE val|

CLASSATTRIBUTE identifier VALUE val|

CLASSATTRIBUTE identifier TYPE RECORD|

CLASSATTRIBUTE identifier .|

redef-instanceattribute-definition :

ATTRIBUTE identifier **TYPE ** typeidentifier|

ATTRIBUTE identifier TYPE typeidentifier VALUE val|

ATTRIBUTE identifier VALUE val|

ATTRIBUTE identifier TYPE RECORD|

ATTRIBUTE identifier.|

attribute-definition : instanceattribute-definition | classattribute-definition.

CLASSATTRIBUTE identifier TYPE typeidentifier|

CLASSATTRIBUTE identifier TYPE typeidentifier VALUE val |

CLASSATTRIBUTE identifier VALUE val|

CLASSATTRIBUTE identifier TYPE RECORD.|

instanceattribute-definition :

ATTRIBUTE identifier TYPE typeidentifier|

ATTRIBUTE identifier TYPE typeidentifier VALUE val|

ATTRIBUTE identifier VALUE val|

ATTRIBUTE identifier TYPE RECORD .|

instanceattribute-setting : ATTRIBUTE identifier VALUE attrval.|

facet-definition :

FACET identifier TYPE typeidentifier|

FACET identifier TYPE typeidentifier VALUE val|

FACET identifier VALUE val.|

typeidentifier:

INTEGER

DOUBLE

STRING

DISTRIBUTION

TIME

ENUMERATION

ENUMERATIONLIST

LONGSTRING

PROGRAMMCALL

INTERREF

EXPRESSION

ATTRPROFREF

DATE

DATETIME

CLOB.

application-libraries : { application-library-definition library-attachments } .

application-library-definition : APPLICATION LIBRARY identifier' :' identifier.

library-attachments : WORKING ENVIRONMENT LIBRARY identifier [ BUSINESS PROCESS LIBRARY identifier] | BUSINESS PROCESS LIBRARY identifier| [ WORKING ENVIRONMENT LIBRARY identifier] .|

identifier : ' <' any_characters_but_newline ' >' .

attrval : || number "" any_characters "" recordval .

recordval : || { RECORD { ATTRIBUTE _identifier _ VALUE _val _} END } .

val : || number ""any_characters"" .