{
    if (newValue == null)
    {
      switch (primitiveType)
      {
        case PRIMITIVE_TYPE_BOOLEAN:
          newValue = getNewBooleanValue() ? Boolean.TRUE : Boolean.FALSE;
          break;
        case PRIMITIVE_TYPE_BYTE:
          newValue = getNewByteValue();
          break;
        case PRIMITIVE_TYPE_CHAR:
          newValue = getNewCharValue();
          break;
        case PRIMITIVE_TYPE_DOUBLE:
          newValue = getNewDoubleValue();
          break;
        case PRIMITIVE_TYPE_FLOAT:
          newValue = getNewFloatValue();
          break;
        case PRIMITIVE_TYPE_LONG:
          newValue = getNewLongValue();
          break;
        case PRIMITIVE_TYPE_INT:
          newValue = getNewIntValue();
          break;
        case PRIMITIVE_TYPE_SHORT:
          newValue = getNewShortValue();
          break;
      }
    }
    return newValue;
  }