Additional elements used to customize types

 

Summary of note and tagged value types

The types of notes and tagged values necessary when defining a project used to translate types and accessor generation are defined in the TypesEditor.

 

Name ...

Types ...

XML tag ...

has the role of ...

jeval

Attribute

Target

indicating an expression to evaluate in J.

Target

Tag

Type

translating a type.

J

Tag

Operation

evaluating the J code to calculate a declaration or an accessor.

J

Tag

Parameter

evaluating the J code to calculate a parameter or a return parameter of an accessor.

JName

Tag

Operation

calculating the name of an accessor.

JModifiers

Tag

Operation

calculating the modifiers of an accessor.

JExceptions

Tag

Operation

the exceptions sent back by the accessor.

 

Note:      If a collection has been created by the user and he wishes to use it, the import must be added to the model through a dependency link to the package or the class containing the defined collection class.

 

 

Summary of J variables

Global variables must be defined for the passing of parameters to the evaluated J expressions, or the retrieval of the results after evaluation.

 

Name ...

Type...

has the role of ...

JavaReturn

String

returning a declaration or accessor calculation method.

JavaElement

Object

giving the name of the object used to translate the type.

 

 

Summary of J methods

For information on all J methods available, please see "Principles of types and accessor generation".