|
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 Container
An instance of this object enables you to cache the values that you want to read again when you next call the same user-defined function. Each user defined function has its own container instance.
The following source code queries the interface namespace of the message
header in a user-defined function getInterfaceNamesapce, displays
it as information by using the AbstractTrace object and returns it as
a result of the function:
public String getInterfaceNamespace(Container container)throws StreamTransformationException {
GlobalContainer| Method Summary | |
|---|---|
GlobalContainer |
getGlobalContainer()
Returns the global container for storing objects shich should be accessable in other user defined functions. |
InputHeader |
getInputHeader()
Returns the access to the message header input parameters, like sender system , receiver system, etc. |
InputParameters |
getInputParameters()
Returns the access to the import parameters which have been defined in the signature tab of the message mapping editor. |
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 parameter that was saved under the given name in this user-specific function by using setParameter(String, Object)
method. |
AbstractTrace |
getTrace()
Returns the mapping trace object that can be used to add trace messages. |
Map |
getTransformationParameters()
Deprecated. use getInputParameters() instead |
void |
setParameter(String name,
Object value)
Saves an object under the given name in a container for a user-specific function. |
| Method Detail |
|---|
Object getParameter(String name)
setParameter(String, Object)
method. If no such parameter exists, null is returned.
name - the name of the parameter
setParameter method or null if
there is no such paramter.
void setParameter(String name,
Object value)
name - the name of the parametervalue - the value to bind to this nameAbstractTrace getTrace()
GlobalContainer getGlobalContainer()
InputHeader getInputHeader()
InputParameters getInputParameters()
OutputHeader getOutputHeader()
OutputParameters getOutputParameters()
Map getTransformationParameters()
|
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 | |||||||||