com.informatica.powercenter.sdk.mapfwk.core
Class GenericTransformation
java.lang.Object
com.informatica.powercenter.sdk.mapfwk.core.Table
com.informatica.powercenter.sdk.mapfwk.core.Transformation
com.informatica.powercenter.sdk.mapfwk.core.GenericTransformation
- All Implemented Interfaces:
- Transform
public class GenericTransformation
- extends Transformation
- Author:
- sramamoo
Constructor Summary |
GenericTransformation()
|
GenericTransformation(java.lang.String name,
java.lang.String busName,
java.lang.String desc,
java.lang.String instName,
java.lang.String transformationType)
Initialize the object with name, business name, description and instance
name |
GenericTransformation(java.lang.String name,
java.lang.String busName,
java.lang.String desc,
java.lang.String instName,
java.lang.String transformationType,
java.util.Vector vInputOrGroupSets,
java.util.Vector vTransformFields,
TransformationProperties props)
This constructor needs to be used for creating a generic transformation |
Methods inherited from class com.informatica.powercenter.sdk.mapfwk.core.Transformation |
add, addInitProp, defaultDuplicateNameRemovalSchema, genOutputSet, 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 |
GenericTransformation
public GenericTransformation()
GenericTransformation
public GenericTransformation(java.lang.String name,
java.lang.String busName,
java.lang.String desc,
java.lang.String instName,
java.lang.String transformationType)
throws InvalidTransformationException
- Initialize the object with name, business name, description and instance
name
- Parameters:
name
- name of the tablebusName
- business namedesc
- descriptioninstName
- instance name
- Throws:
InvalidTransformationException
GenericTransformation
public GenericTransformation(java.lang.String name,
java.lang.String busName,
java.lang.String desc,
java.lang.String instName,
java.lang.String transformationType,
java.util.Vector vInputOrGroupSets,
java.util.Vector vTransformFields,
TransformationProperties props)
throws InvalidTransformationException
- This constructor needs to be used for creating a generic transformation
- Parameters:
name
- busName
- desc
- instName
- transformationType:
- Type of the transformationvInputOrGroupSets:
- this could be either input set or group set which will be treated as an input to transformationvTransformFields:
- new fields will be added to the tranformationprops
- properties
- Throws:
InvalidTransformationException
registerTransformationType
public static void registerTransformationType(java.lang.String transformationType)
- Parameters:
transformationType
-
getTransformationType
public static java.lang.String getTransformationType(int transformationId)
- Return type of the transformation for the corresponding type
- Parameters:
transformationId
-
- Returns:
getTransformationId
public static int getTransformationId(java.lang.String transformationType)
- Return id of the transformation for a corresponding type
- Parameters:
transformationName
-
- Returns:
getGenericTransformationType
public java.lang.String getGenericTransformationType()
apply
public OutputSet apply()
throws InvalidTransformationException
- Description copied from interface:
Transform
- Apply the Transformation.
- Returns:
- OutputSet object
- Throws:
InvalidTransformationException
- exception
setTransformationType
public void setTransformationType(java.lang.String transformationType)
- Parameters:
transformationType
- the transformationType to set