{
    if (oldValue == null)
    {
      switch (primitiveType)
      {
        case PRIMITIVE_TYPE_BOOLEAN:
          oldValue = getOldBooleanValue() ? Boolean.TRUE : Boolean.FALSE;
          break;
        case PRIMITIVE_TYPE_BYTE:
          oldValue = getOldByteValue();
          break;
        case PRIMITIVE_TYPE_CHAR:
          oldValue = getOldCharValue();
          break;
        case PRIMITIVE_TYPE_DOUBLE:
          oldValue = getOldDoubleValue();
          break;
        case PRIMITIVE_TYPE_FLOAT:
          oldValue = getOldFloatValue();
          break;
        case PRIMITIVE_TYPE_LONG:
          oldValue = getOldLongValue();
          break;
        case PRIMITIVE_TYPE_INT:
          oldValue = getOldIntValue();
          break;
        case PRIMITIVE_TYPE_SHORT:
          oldValue = getOldShortValue();
          break;
      }
    }
    return oldValue;
  }