You define the list of the elements which compose a Logical View instance in the-CE Lines tab of the Logical View editor. For each Data Element called in a Logical View instance, you must specify if it is an identifier, a parameter, or a simple Data Element describing the Logical View. Moreover, you must indicate the data transfer direction and select a presence check option for each Data Element. You can also specify that a Data Element belongs to a subschema. All these options are to be indicated in the Data Element call section, which is displayed when you enter or select a Data Element in the -CE lines of the current Logical View.
The extraction method is sent to the Business Component through the technical part of the message. Parameters must be described in the application part of the message, that is in the Logical View.
In the Data type field, you specify the parameters by value for all the extraction methods which can be used by the Logical View. To do so, you call Data Elements defined in the Pacbase repository. For each parameter, you enter the E type, which indicates that it is a parameter. Each identifier Data Element (U type) is an implicit parameter. The other Data Elements that describe the contents of the Logical View cannot be used as parameters. The E-type Data Element does not belong to the description of a Logical View. If necessary, you can define and call a child Data Element.Options | Description |
---|---|
None | Data Element not used as a parameter. For Data Elements describing the Logical View. |
U: identifier for paging | Data Elements which are to be used as selection criteria or start key for the reading of data occurrences in the database. Identifier for the paging of a list for the client. As output from the server, it contains the selection criteria values of the next page. |
R: repeated structure | There is only one repeated structure for one Logical View. A repeated structure is specified in the group Data Elements. This Data Element indicates the beginning of the repeated Data Elements. The end of the repeated Data Elements is deduced from the number of Data Elements in a group. The number of occurrences must be indicated in the Number of occurrences field in the Logical View definition. |
E: extraction parameter | The Data Element is used as a parameter for an extraction method. The 'E' type Data Elements must be entered in the '-CE' lines before the Data Elements that describe the Logical View contents. Each identifier Data Element ('U' type) is an implicit extraction parameter. The other Data Elements describing the Logical View cannot be used as parameters. If necessary, you can define and call a child Data Element. |
Options | Description |
---|---|
O: required | Required Data Element. The check for its presence
is generated in the client, and in the Business Component if CHECKSER=YES. Note: includes
checks in relation to the Data Element description.
|
P: required | Required Data Element. The check for its presence
is generated only in the Business Component, if CHECKSER=YES. Note: includes
checks in relation to the Data Element description.
|
Blank | The checks specified in the Data Element description are generated in the client, and in the Business Component, if CHECKSER=YES. |
F: optional | The checks specified in the Data Element description are only generated in the Business Components if CHECKSER=YES. |
Options | Comments |
---|---|
Both directions | Default value for an update service or a selection service. It is the required value for graphic applications. |
C: Client to Server | Client to Business Component: From Logical View to Segment for an update service. |
S: Server to Client | Business Component to client: From Segment to Logical View for a selection service. |
The direction of the transfer must also be indicated in the group Data Elements. The repeated Data Elements must have the same transfer direction. This direction can be indicated on the Data Elements bordering the repeated data (Data Element with an R indicator). You enter the C or S value in this Data Element only if the Direction of transfer field in the Logical View Definition tab is 'both directions'.
Click More... to open a definition wizard. In this wizard, you indicate to which subschemas the Data Element called in the Logical View must belong.
Click -G Lines... to define -GC lines (comments), -GE lines (error messages), and -GG lines (generation elements) for each Data Element called in the Logical View.