Class DOFWMapper

java.lang.Object
org.eclnt.ccee.db.dofw.util.DOFWMapper
All Implemented Interfaces:
ICCEEConstants

public class DOFWMapper extends Object implements ICCEEConstants
  • Field Details

    • NOVALUEAVAILABLE

      public static final Object NOVALUEAVAILABLE
  • Constructor Details

    • DOFWMapper

      public DOFWMapper()
  • Method Details

    • mapDBValue2PropertyValue

      public static void mapDBValue2PropertyValue(String contextName, ResultSet rs, Object dob, DOFWProperty property)
      Reads the value of the result set and maps into the corresponding property on object side.
    • readAndMapDBValue

      public static Object readAndMapDBValue(String contextName, ResultSet rs, String columnName, DOFWProperty property)
      Reads a value from the result set and transfers it into the correct Java type.
    • readAndMapDBValue

      public static Object readAndMapDBValue(String contextName, ResultSet rs, int columnIndex, DOFWProperty property)
      Reads a value from the result set and transfers it into the correct Java type.
    • JUNIT_convertYYYYMMDDToLocalDate

      public static LocalDate JUNIT_convertYYYYMMDDToLocalDate(long l)
    • junit_convertYYYYMMDDToLocalDate

      public static LocalDate junit_convertYYYYMMDDToLocalDate(long l)
    • mapPropertyValue2PreparedStatement

      public static void mapPropertyValue2PreparedStatement(String contextName, Object value, PreparedStatement ps, DOFWProperty property, int counter)
    • mapPropertyValue2PreparedStatement

      public static void mapPropertyValue2PreparedStatement(String contextName, Object value, PreparedStatement ps, DOFWProperty property, ENUMMappingInfo[] mappingInfos, int counter)