com.metamatrix.common.types.basic
Class BooleanToNumberTransform
java.lang.Object
com.metamatrix.common.types.Transform
com.metamatrix.common.types.basic.BooleanToNumberTransform
public class BooleanToNumberTransform
- extends Transform
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
BooleanToNumberTransform
public BooleanToNumberTransform(java.lang.Object trueVal,
java.lang.Object falseVal)
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
Copyright © 2009. All Rights Reserved.