Package org.teiid.core.types.basic
Class NumberToNumberTransform
- java.lang.Object
-
- org.teiid.core.types.Transform
-
- org.teiid.core.types.basic.NumberToNumberTransform
-
- Direct Known Subclasses:
NumberToByteTransform
,NumberToDoubleTransform
,NumberToFloatTransform
,NumberToIntegerTransform
,NumberToLongTransform
,NumberToShortTransform
public abstract class NumberToNumberTransform extends Transform
-
-
Constructor Summary
Constructors Constructor Description NumberToNumberTransform(Number min, Number max, Class<?> sourceType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
checkValueRange(Object value)
Class<?>
getSourceType()
Type of the incoming value.-
Methods inherited from class org.teiid.core.types.Transform
getDescription, getDisplayName, getSourceTypeName, getTargetType, getTargetTypeName, isExplicit, toString, transform, transformDirect
-
-
-
-
Method Detail
-
getSourceType
public Class<?> getSourceType()
Description copied from class:Transform
Type of the incoming value.- Specified by:
getSourceType
in classTransform
- Returns:
- Source type
-
checkValueRange
protected void checkValueRange(Object value) throws TransformationException
- Throws:
TransformationException
-
-