public Task setStatus(TaskStatus value) { 
        if (this.status == null)
          this.status = new Enumeration<TaskStatus>(new TaskStatusEnumFactory());
        this.status.setValue(value);
      return this;
    }
public Task setStatus ( TaskStatus value ) { if ( this . status == null ) this . status = new Enumeration < TaskStatus > ( new TaskStatusEnumFactory ( ) ) ; this . status . setValue ( value ) ; return this ; }
@param value The current status of the task.