code: private TaskType getTaskType(String value)
     {
        TaskType result = TaskType.FIXED_UNITS;
        if (value != null && value.equals("fixed-duration"))
        {
           result = TaskType.FIXED_DURATION;
        }
        return (result);
     }
docs: Convert a string representation of the task type
  into a TaskType instance.
  
  @param value string value
  @return TaskType value