code: @Override public Object getCurrentValue(FieldType field)
     {
        Object result = null;
  
        if (field != null)
        {
           switch ((TaskField) field)
           {
              case PARENT_TASK_UNIQUE_ID:
              {
                 result = m_parent == null ? Integer.valueOf(-1) : m_parent.getUniqueID();
                 break;
              }
  
              case START_VARIANCE:
              {
                 result = getStartVariance();
                 break;
              }
  
              case FINISH_VARIANCE:
              {
                 result = getFinishVariance();
                 break;
              }
  
              case START_SLACK:
              {
                 result = getStartSlack();
                 break;
              }
  
              case FINISH_SLACK:
              {
                 result = getFinishSlack();
                 break;
              }
  
              case COST_VARIANCE:
              {
                 result = getCostVariance();
                 break;
              }
  
              case DURATION_VARIANCE:
              {
                 result = getDurationVariance();
                 break;
              }
  
              case WORK_VARIANCE:
              {
                 result = getWorkVariance();
                 break;
              }
  
              case CV:
              {
                 result = getCV();
                 break;
              }
  
              case SV:
              {
                 result = getSV();
                 break;
              }
  
              case TOTAL_SLACK:
              {
                 result = getTotalSlack();
                 break;
              }
  
              case CRITICAL:
              {
                 result = Boolean.valueOf(getCritical());
                 break;
              }
  
              case COMPLETE_THROUGH:
              {
                 result = getCompleteThrough();
                 break;
              }
  
              default:
              {
                 result = m_array[field.getValue()];
                 break;
              }
           }
        }
  
        return (result);
     }
docs: {@inheritDoc}