Class MappedResult


  • public class MappedResult
    extends Object
    Represents a field value mapping result. This result carries the actual value to write to the destination object and an operation flag indicating situations where a value, null or nothing should be written to destination.
    • Method Detail

      • skip

        public static MappedResult skip()
        Returns:
        Returns a MappedResult that signals that the mapping should be skipped.
      • value

        public static MappedResult value​(Object value)
        Parameters:
        value - The actual value the mapping returns.
        Returns:
        Returns a MappedResult that signals that the mapping should be used even if null is returned.
      • getValue

        public Object getValue()
      • hasValue

        public boolean hasValue()
        Returns:
        Returns true if a mapped value is present.