com.informatica.powercenter.sdk.mapfwk.core
Class MappletTransformation
java.lang.Object
com.informatica.powercenter.sdk.mapfwk.core.Table
com.informatica.powercenter.sdk.mapfwk.core.Transformation
com.informatica.powercenter.sdk.mapfwk.core.MappletTransformation
- All Implemented Interfaces:
- Transform
public class MappletTransformation
- extends Transformation
This class enables the usage of a Mapplet in a transformation. It extends the
Transformation
to provide this functionality.
The mapplet definition should be specified as GroupSet
, one
for InputGroup and one for OutputGroup. The TransformHelper
class can be used to create this Transformation.
GroupSet inSet; // create input groups;
GroupSet outSet; // create output groups;
Vector v = new Vector();
v.add( inSet );
v.add( outSet );
helper.mapplet( v, TransformationConstants.MAPPLET, "TestMapplet" );
Constructor Summary |
MappletTransformation()
Default constructor |
MappletTransformation(java.lang.String name,
java.lang.String busName,
java.lang.String desc,
java.lang.String instName)
Initialize the object using name, business name, description and instance
name |
MappletTransformation(java.lang.String name,
java.lang.String busName,
java.lang.String desc,
java.lang.String instName,
java.util.Vector vGroupSets)
rjain created during mapplet extension
Initialize the object using name, business name, description and instance
name, vGroupSet and transformation type |
Methods inherited from class com.informatica.powercenter.sdk.mapfwk.core.Transformation |
add, addInitProp, defaultDuplicateNameRemovalSchema, getGroupSet, getInitProps, getMapping, getOutFields, getOutputSet, getProperties, getSessionTransformInstanceKeySet, getSessionTransformInstanceProperty, getTemplateID, getTemplateName, getTransContext, getTransformationFieldAttr, getTransformationType, getTransformGroup, setGroupSet, setGroupSet, setMapping, setOutFields, setOutputSet, setReusable, setSessionTransformInstanceProperty, setTemplateIDAndName, setTransContext, setTransformationFieldAttr, setTransformationType, setTransformGroup, standardizeString |
Methods inherited from class com.informatica.powercenter.sdk.mapfwk.core.Table |
addField, addMetaExtension, getBusinessName, getDescription, getField, getFields, getInstanceName, getMetaExtensions, getName, getReferencedField, isReadOnly, isReusable, removeField, removeMetaExtension, setBusinessName, setDescription, setFields, setInstanceName, setMetaExtensions, setMetaExtensionValue, setName, setReadOnly |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MappletTransformation
public MappletTransformation()
- Default constructor
MappletTransformation
public MappletTransformation(java.lang.String name,
java.lang.String busName,
java.lang.String desc,
java.lang.String instName)
- Initialize the object using name, business name, description and instance
name
- Parameters:
name
- Name of the transformationbusName
- Business name of the transformationdesc
- DescriptioninstName
- Instance name of the transformation
MappletTransformation
public MappletTransformation(java.lang.String name,
java.lang.String busName,
java.lang.String desc,
java.lang.String instName,
java.util.Vector vGroupSets)
throws InvalidTransformationException
- rjain created during mapplet extension
Initialize the object using name, business name, description and instance
name, vGroupSet and transformation type
- Parameters:
name
- busName
- desc
- instName
- vGroupSets
- transformationType
-
- Throws:
java.lang.Exception
InvalidTransformationException
apply
public OutputSet apply()
throws InvalidTransformationException
- Apply the transformation
- Returns:
- OutputSet object
- Throws:
InvalidTransformationException
- exception
genOutputSet
protected OutputSet genOutputSet(java.util.Vector inputSet)
- Description copied from class:
Transformation
- Generate the
OutputSet
for a given Vector
of InputSet
- Overrides:
genOutputSet
in class Transformation
- Returns:
- OutputSet object