com.metamatrix.common.types.basic
Class FixedNumberToBigIntegerTransform

java.lang.Object
  extended by com.metamatrix.common.types.Transform
      extended by com.metamatrix.common.types.basic.FixedNumberToBigIntegerTransform

public class FixedNumberToBigIntegerTransform
extends Transform


Constructor Summary
FixedNumberToBigIntegerTransform(java.lang.Class<?> sourceType)
           
 
Method Summary
 java.lang.Class<?> getSourceType()
          Type of the incoming value.
 java.lang.Class<?> getTargetType()
          Type of the outgoing value.
 java.lang.Object transformDirect(java.lang.Object value)
          This method transforms a value of the source type into a value of the target type.
 
Methods inherited from class com.metamatrix.common.types.Transform
checkValueRange, equals, getDescription, getDisplayName, getSourceTypeName, getTargetTypeName, hashCode, isExplicit, toString, transform
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FixedNumberToBigIntegerTransform

public FixedNumberToBigIntegerTransform(java.lang.Class<?> sourceType)
Method Detail

transformDirect

public java.lang.Object transformDirect(java.lang.Object value)
                                 throws TransformationException
This method transforms a value of the source type into a value of the target type.

Specified by:
transformDirect in class Transform
Parameters:
value - Incoming value of source type
Returns:
Outgoing value of target type
Throws:
TransformationException - if value is an incorrect input type or the transformation fails

getSourceType

public java.lang.Class<?> getSourceType()
Type of the incoming value.

Specified by:
getSourceType in class Transform
Returns:
Source type

getTargetType

public java.lang.Class<?> getTargetType()
Type of the outgoing value.

Specified by:
getTargetType in class Transform
Returns:
Target type


Copyright © 2009. All Rights Reserved.