Exemplo n.º 1
0
 /**
  * @param rowSet ESPRowSet
  * @param dmColComponent DMColComponent
  * @return Object
  */
 public static Object getObject(ESPRowSet rowSet, DMColComponent dmColComponent) {
   String dataSetID = dmColComponent.getInternalDataSetID();
   String dataSetColID = dmColComponent.getDataSetColID();
   String VALUE_COL_ID = dmColComponent.getValueDataSetColID();
   if (VALUE_COL_ID != null && VALUE_COL_ID.trim().length() != 0) dataSetColID = VALUE_COL_ID;
   if (dmColComponent.isUserInternalDataSetID()) {
     Object oo = rowSet.getObject(dataSetID + "." + dataSetColID, null);
     if (oo == null) oo = rowSet.getObject(dataSetColID, null);
     return oo;
   } else {
     return rowSet.getObject(dataSetColID, null);
   }
 }
Exemplo n.º 2
0
 /**
  * @param rowSet EFRowSet
  * @param dataSetID String
  * @param dataSetColID String
  * @return Object
  */
 public static Object getObject(ESPRowSet rowSet, String dataSetID, String dataSetColID) {
   Object value = rowSet.getObject(dataSetColID, null);
   if (value == null) value = rowSet.getObject(dataSetID + "." + dataSetColID, null);
   return value;
 }