code: @Override
      public Object getValue(final Object _currentObject)
          throws EFapsException
      {
          final Type tempType;
          if (this.type.getMainTable().getSqlColType() == null) {
              tempType = this.type;
          } else if (_currentObject != null) {
              // check is necessary because Oracle JDBC returns for getObject always a BigDecimal
              if (_currentObject instanceof BigDecimal) {
                  tempType = Type.get(((BigDecimal) _currentObject).longValue());
              } else {
                  tempType = Type.get((Long) _currentObject);
              }
          } else {
              tempType = null;
          }
          return analyzeChildValue(this, tempType);
      }
docs: {@inheritDoc}