com.metamatrix.common.types.basic
Class NumberToBooleanTransform

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

public class NumberToBooleanTransform
extends Transform


Constructor Summary
NumberToBooleanTransform(java.lang.Comparable falseVal)
           
 
Method Summary
 java.lang.Class<?> getSourceType()
          Type of the incoming value.
 java.lang.Class<?> getTargetType()
          Type of the outgoing value.
 boolean isExplicit()
           
 java.lang.Object transformDirect(java.lang.Object value)
           
 
Methods inherited from class com.metamatrix.common.types.Transform
checkValueRange, equals, getDescription, getDisplayName, getSourceTypeName, getTargetTypeName, hashCode, toString, transform
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NumberToBooleanTransform

public NumberToBooleanTransform(java.lang.Comparable falseVal)
Method Detail

getSourceType

public java.lang.Class<?> getSourceType()
Description copied from class: Transform
Type of the incoming value.

Specified by:
getSourceType in class Transform
Returns:
Source type

getTargetType

public java.lang.Class<?> getTargetType()
Description copied from class: Transform
Type of the outgoing value.

Specified by:
getTargetType in class Transform
Returns:
Target type

transformDirect

public java.lang.Object transformDirect(java.lang.Object value)
                                 throws TransformationException
Specified by:
transformDirect in class Transform
Throws:
TransformationException

isExplicit

public boolean isExplicit()
Overrides:
isExplicit in class Transform


Copyright © 2009. All Rights Reserved.