Skip navigation links


com.thortech.xl.gc.vo.designtime
Class Transformation

java.lang.Object
  extended by com.thortech.xl.gc.vo.designtime.Transformation

All Implemented Interfaces:
java.io.Serializable

public class Transformation
extends java.lang.Object
implements java.io.Serializable

This class is a value object that represents a transformation. Any AttributeWithSource or TargetAttribute should contain an instance of this value object.

See Also:
AttributeWithSource, TargetAttribute, Serialized Form

Constructor Summary
Transformation()
           

 

Method Summary
 void addTransformationParameter(SourceValue val)
          This method sets the parameter details of a transformation instance, corresponding to the input SourceValue.
 java.util.HashMap getHmSourceAttributes()
          This method returns the parameter details of the transformation
 java.lang.String getStrTransformationName()
          This method returns the name of the transformation provider implementation
 void setHmSourceAttributes(java.util.HashMap hmSourceAttributes)
          sets the parameter details of a transformation.
 void setStrTransformationName(java.lang.String strTransformationName)
          sets the transformation name
 java.lang.String toString()
          This method returns a String representation of an entire transformation.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

Transformation

public Transformation()

Method Detail

setStrTransformationName

public void setStrTransformationName(java.lang.String strTransformationName)
sets the transformation name
Parameters:
strTransformationName - transformation name

getStrTransformationName

public java.lang.String getStrTransformationName()
This method returns the name of the transformation provider implementation
Returns:
Name of the transformation provider implementation, as specified in the provider XML.

getHmSourceAttributes

public java.util.HashMap getHmSourceAttributes()
This method returns the parameter details of the transformation
Returns:
Map containing parameter details of this transformation. It contains the field-value pairs in the following manner: <<---------Key---------------->> || <<---------------Value-------------------------------------->> <<---Parameter Name(String)--->> || <<---Parameter value (Instance of value object SourceValue)--->>

setHmSourceAttributes

public void setHmSourceAttributes(java.util.HashMap hmSourceAttributes)
sets the parameter details of a transformation.
Parameters:
hmSourceAttributes - hashmap containing parameter details. LinkedHashMap<String, SourceValue> hmSourceAttributes; String: <ParameterName>, If parameter value is coming from a literal, SourceValue.strValue=<ParameterValue>; elseif parameter value is coming from a field SourceValue.strValue=null and SourceValue.attr=<attribute>.

addTransformationParameter

public void addTransformationParameter(SourceValue val)
This method sets the parameter details of a transformation instance, corresponding to the input SourceValue.
Parameters:
val - Input instance of SourceValue containing the transformation parameter source details.

toString

public java.lang.String toString()
This method returns a String representation of an entire transformation.
Overrides:
toString in class java.lang.Object
Returns:
String representation of the transformation.

Skip navigation links


Copyright © 2010, Oracle and/or its affiliates. All rights reserved.