Package org.eclnt.ccee.db.dofw.util
Class DOFWMapper
java.lang.Object
org.eclnt.ccee.db.dofw.util.DOFWMapper
- All Implemented Interfaces:
ICCEEConstants
-
Field Summary
FieldsFields inherited from interface org.eclnt.ccee.ICCEEConstants
AND, ASC, AVG, BETWEEN, BRC, BRO, COUNT, DEFAULT_CONTEXT, DESC, FUNCTIONRESULT, GREATER, GREATEREQUAL, IN, IS, ISNOT, LIKE, LL_DBG, LL_ERR, LL_INF, LL_WAR, LOWER, LOWEREQUAL, MAX, MIN, NULL, OR, ORDERBY, QPFUNCTION_LOWER, QPFUNCTION_UPPER, SUM
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LocalDate
junit_convertYYYYMMDDToLocalDate
(long l) static LocalDate
JUNIT_convertYYYYMMDDToLocalDate
(long l) 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.static void
mapPropertyValue2PreparedStatement
(String contextName, Object value, PreparedStatement ps, DOFWProperty property, int counter) static void
mapPropertyValue2PreparedStatement
(String contextName, Object value, PreparedStatement ps, DOFWProperty property, ENUMMappingInfo[] mappingInfos, int counter) 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.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.
-
Field Details
-
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
-
junit_convertYYYYMMDDToLocalDate
-
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)
-