Literals

In an expression, a literal is a value that remains unchanged when Integration Composer creates data in the target; literal values are transferred exactly as written. In Integration Composer, you can specify literals for strings and for the following primitive data types: boolean, char, integer, and floating-point.

When every class instance in the target requires the same value, create an expression with a literal. For example, suppose that you are migrating adapter data from a source to a target and you want to use the words Video Adapter for the Mediatype property in the target. To use this string of words, use double quotation marks to indicate a string literal in the expression. For example, "Video Adapter".

When you execute the mapping, this expression copies the Video Adapter string literal into the Mediatype property of the target each time Integration Composer creates an instance of the Media Adapter class.



Feedback