Class NullToAnyTransform


  • public class NullToAnyTransform
    extends Transform
    This class can do a simple null to anything. Incoming value must be null and outgoing value is the same. This is purely for type purposes.
    • Constructor Detail

      • NullToAnyTransform

        public NullToAnyTransform​(Class<?> targetType)
    • Method Detail

      • 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