|
If not dev, correct this wrong version label in perforce3227:3227\buildenvBE.Japro<CODELINE>src_macrospackjavadoc.properties | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GlobalContainer
An instance of this class enables you to cache the values that you want to read again when you next call any user-defined function in the same message mapping. A message mapping has exactly one global container during the execution.
Furthermore, in the same as for Container , you can also access the
fields of the message header by using the GlobalContainer object.
Note that the sequence in which user-defined functions are called is predefined. It depends on the position of the target fields that the function was assigned to. Imagine a target structure in the mapping editor in which all the structure nodes have been expanded. The fields are processed from top to bottom, starting at the root node.
To get a global container object, call the methodContainer.getGlobalContainer().
Container| Method Summary | |
|---|---|
void |
copyInputAttachments()
|
InputAttachments |
getInputAttachments()
|
InputHeader |
getInputHeader()
Returns the access to the message header input parameters. |
InputParameters |
getInputParameters()
Returns the access to the import parameters which have been defined in the signature tab of the message mapping editor. |
OutputAttachments |
getOutputAttachments()
|
OutputHeader |
getOutputHeader()
Returns the access to the message header output parameters. |
OutputParameters |
getOutputParameters()
Returns the access to the export parameters which have been defined in the signature tab of the message mapping editor. |
Object |
getParameter(String name)
Returns the object that was saved under the given name in the global container by using the setParameter method. |
Map |
getParameters()
Deprecated. use getInputParameters() instead |
AbstractTrace |
getTrace()
Returns the mapping trace object. |
void |
setParameter(String name,
Object value)
Saves a given object under the given name in a global container, which can be accessed by all user-defined functions of a message mapping. |
| Method Detail |
|---|
void setParameter(String name,
Object value)
name - parameter namevalue - parameter valueObject getParameter(String name)
name - parameter name
InputHeader getInputHeader()
InputParameters getInputParameters()
InputAttachments getInputAttachments()
OutputHeader getOutputHeader()
OutputParameters getOutputParameters()
AbstractTrace getTrace()
Map getParameters()
OutputAttachments getOutputAttachments()
void copyInputAttachments()
|
If not dev, correct this wrong version label in perforce3227:3227\buildenvBE.Japro<CODELINE>src_macrospackjavadoc.properties | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||