Class FixedNumberToBigIntegerTransform


  • public class FixedNumberToBigIntegerTransform
    extends Transform
    • Constructor Detail

      • FixedNumberToBigIntegerTransform

        public FixedNumberToBigIntegerTransform​(Class<?> sourceType)
    • Method Detail

      • transformDirect

        public Object transformDirect​(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 Class<?> getSourceType()
        Type of the incoming value.
        Specified by:
        getSourceType in class Transform
        Returns:
        Source type
      • getTargetType

        public Class<?> getTargetType()
        Type of the outgoing value.
        Specified by:
        getTargetType in class Transform
        Returns:
        Target type