MapServiceInterface

This interface provides access to validation and transformation maps. There are three methods, as follows:

Method

getFromValidationMap

Method description

Retrieves the appropriate "From" validation map. The "From" validation map is the validation map associated with the connection's "From" document flow definition. Steps of the action can call this method to obtain the validation map associated with an incoming document. The "From" validation maps can be uploaded from the console.

Syntax

public byte[] getFromValidationMap(Context context,
                            BusinessDocumentInterface document)

Parameters

context
The context associated with this flow
document
The business document

Method

getToValidationMap

Method description

Retrieves the appropriate "To" validation map. The "To" validation map is the validation map associated with the connection's "To" document flow definition. If the steps of the action are transforming an incoming business document into another business document, they can call this method to obtain the validation map associated with the transformed document. The "To" validation maps can be uploaded from the console.

Syntax

public byte[] getToValidationMap(Context context,
                            BusinessDocumentInterface document)

Parameters

context
The context associated with this flow
document
The business document

Method

getTransformationMap

Method description

Retrieves the appropriate transformation map associated with the connection. When you create the participant connection in the console, you can select the transformation map that you want to use for the connection.

Syntax

public byte[] getTransformationMap(Context context,
                            BusinessDocumentInterface document)

Parameters

context
The context associated with this flow
document
The business document

Copyright IBM Corp. 2003, 2005