Interface FieldConverter<D,​J>

    • Method Detail

      • mapForDb

        void mapForDb​(String name,
                      J value,
                      Map<String,​Object> map)
        Adds the value to the map for database processing
        Parameters:
        name - of field
        value - to be pushed to db
        map - map the value will be entered in
      • toJavaValue

        J toJavaValue​(J currentValue,
                      Object newValue)
        Transforms from db value to value understood by the java class
        Parameters:
        currentValue - value the java object has right now
        newValue - db to be transformed
        Returns:
        Java value