com.informatica.powercenter.sdk.mapfwk.core
Class PowerCenterCompatibility

java.lang.Object
  extended by com.informatica.powercenter.sdk.mapfwk.core.PowerCenterCompatibility
Direct Known Subclasses:
PowerCenter811Compatibility, PowerCenter85Compatibility

public abstract class PowerCenterCompatibility
extends java.lang.Object

Author:
sramamoo

Field Summary
static java.lang.String DEFAULT_CONFIG_PROPERTIES
           
static java.lang.String DEFAULT_SESSION_PROPERTIES
           
static java.lang.String DEFAULT_WORKFLOW_PROPERTIES
           
 
Constructor Summary
PowerCenterCompatibility()
           
 
Method Summary
 java.util.Properties getProperties(java.lang.String propertyType)
          Get the default properties.
abstract  java.lang.String getTransformationPrecision()
          Get the transformation precision
abstract  java.lang.String getTransformationScale()
          get the transformation scale
abstract  java.lang.String getVersion()
          Get the compatibility version
protected  void initialise()
           
protected  java.lang.String makeVersion(int major, int minor, int patch)
           
abstract  boolean overrideSourceTimestampPrecision()
          Check if SourceTimestamp precision is to be overriden or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_CONFIG_PROPERTIES

public static final java.lang.String DEFAULT_CONFIG_PROPERTIES
See Also:
Constant Field Values

DEFAULT_SESSION_PROPERTIES

public static final java.lang.String DEFAULT_SESSION_PROPERTIES
See Also:
Constant Field Values

DEFAULT_WORKFLOW_PROPERTIES

public static final java.lang.String DEFAULT_WORKFLOW_PROPERTIES
See Also:
Constant Field Values
Constructor Detail

PowerCenterCompatibility

public PowerCenterCompatibility()
Method Detail

getProperties

public java.util.Properties getProperties(java.lang.String propertyType)
Get the default properties. Use the static strings defined in PowerCenterCompatibility to retrieve the properties

Parameters:
propertyType - The type of properties required
Returns:
Properties

initialise

protected void initialise()

makeVersion

protected java.lang.String makeVersion(int major,
                                       int minor,
                                       int patch)

getVersion

public abstract java.lang.String getVersion()
Get the compatibility version

Returns:
String The compatibity version set

getTransformationPrecision

public abstract java.lang.String getTransformationPrecision()
Get the transformation precision

Returns:
String transformation precision

getTransformationScale

public abstract java.lang.String getTransformationScale()
get the transformation scale

Returns:
String transformation scale

overrideSourceTimestampPrecision

public abstract boolean overrideSourceTimestampPrecision()
Check if SourceTimestamp precision is to be overriden or not.

Returns:
boolean true if the source Timestamp precision is to be overridden, false otherwise.