# com.bea.wli.worklist.api
TaskInfo Class

public final class TaskInfo
extends `Object`
implements `Serializable`

This class provides information about the runtime state of a Task. The method getTaskInfoXML() returns the task runtime information as an TaskInfoXMLDocument which may be more convenient to manipulate. TaskInfoXMLDocument is an XmlObject.

Hierarchy
  `Object`
  `TaskInfo`

All Implemented Interfaces
  `Serializable`

## Field Summary

`public `String`` | `owner` The Task owner

## Constructor Summary

TaskInfo() Basic constructor
TaskInfo(`String` taskId, `String` name, `String` parentProcessUri, `String` parentProcessId, `Assignee` assignee, `String` claimant, `String` owner, `StateType` stateType, `Integer` priority, `Date` completionDueDate, `Date` claimDueDate, `Date` creationDate, `Boolean` canBeReassigned, `Boolean` canBeReturned, `Boolean` canBeAborted, `String` description, `String` comment, `String` requestType, `String` responseType) Constructor with initialization fields

## Method Summary

`public boolean` | `equals`(`Object` other)
`public `Assignee`` | `getAssignee`()
`public `Boolean`` | `getCanBeAborted`()
`public `Boolean`` | `getCanBeReassigned`()
`public `Boolean`` | `getCanBeReturned`()
`public `String`` | `getClaimant`()
`public `Date`` | `getClaimDueDate`()
`public `String`` | `getComment`()
`public `Date`` | `getCompletionDueDate`()
`public `Date`` | `getCreationDate`()
`public `String`` | `getDescription`()
`public `String`` | `getName`()
`public `String`` | `getOwner`()
`public `String`` | `getParentProcessId`()
`public `String`` | `getParentProcessUri`()
`public `Integer`` | `getPriority`()
`public `String`` | `getRequestType`()
`public `String`` | `getResponseType`()
`public `StateType`` | `getStateType`()
`public `String`` | `getTaskId`()
`public `TaskInfoXMLDocument`` | `getTaskInfoXML`()
`public int` | `hashCode`()
`public void` | `setAssignee`(`Assignee` assignee)
`public void` | `setCanBeAborted`(`Boolean` canBeAborted)
`public void` | `setCanBeReassigned`(`Boolean` canBeReassigned)
`public void` | `setCanBeReturned`(`Boolean` canBeReturned)
`public void` | `setClaimant`(`String` claimant)
`public void` | `setClaimDueDate`(`Date` claimDueDate)
`public void` | `setComment`(`String` comment)
`public void` | `setCompletionDueDate`(`Date` completionDueDate)
`public void` | `setCreationDate`(`Date` creationDate)
`public void` | `setDescription`(`String` description)
`public void` | `setName`(`String` name)
`public void` | `setOwner`(`String` owner)
`public void` | `setParentProcessId`(`String` parentProcessId)
`public void` | `setParentProcessUri`(`String` parentProcessUri)
`public void` | `setPriority`(`Integer` priority)
`public void` | `setRequestType`(`String` requestType)
`public void` | `setResponseType`(`String` responseType)
`public void` | `setStateType`(`StateType` stateType)
`public void` | `setTaskId`(`String` taskId)

Methods from class `java.lang.`Object``
`clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

## Field Detail

### owner

    public String owner

  The Task owner

## Constructor Detail

### TaskInfo

    public TaskInfo()

  Basic constructor

### TaskInfo

    public TaskInfo(String taskId,
                    String name,
                    String parentProcessUri,
                    String parentProcessId,
                    Assignee assignee,
                    String claimant,
                    String owner,
                    StateType stateType,
                    Integer priority,
                    Date completionDueDate,
                    Date claimDueDate,
                    Date creationDate,
                    Boolean canBeReassigned,
                    Boolean canBeReturned,
                    Boolean canBeAborted,
                    String description,
                    String comment,
                    String requestType,
                    String responseType)

  Constructor with initialization fields

## Method Detail

### equals(Object) Method

    public boolean equals(Object other)

Overrides
  `Object.equals(Object)`

### getAssignee() Method

    public Assignee getAssignee()

### getCanBeAborted() Method

    public Boolean getCanBeAborted()

### getCanBeReassigned() Method

    public Boolean getCanBeReassigned()

### getCanBeReturned() Method

    public Boolean getCanBeReturned()

### getClaimant() Method

    public String getClaimant()

### getClaimDueDate() Method

    public Date getClaimDueDate()

### getComment() Method

    public String getComment()

### getCompletionDueDate() Method

    public Date getCompletionDueDate()

### getCreationDate() Method

    public Date getCreationDate()

### getDescription() Method

    public String getDescription()

### getName() Method

    public String getName()

### getOwner() Method

    public String getOwner()

### getParentProcessId() Method

    public String getParentProcessId()

### getParentProcessUri() Method

    public String getParentProcessUri()

### getPriority() Method

    public Integer getPriority()

### getRequestType() Method

    public String getRequestType()

### getResponseType() Method

    public String getResponseType()

### getStateType() Method

    public StateType getStateType()

### getTaskId() Method

    public String getTaskId()

### getTaskInfoXML() Method

    public TaskInfoXMLDocument getTaskInfoXML()

### hashCode() Method

    public int hashCode()

Overrides
  `Object.hashCode()`

### setAssignee(Assignee) Method

    public void setAssignee(Assignee assignee)

### setCanBeAborted(Boolean) Method

    public void setCanBeAborted(Boolean canBeAborted)

### setCanBeReassigned(Boolean) Method

    public void setCanBeReassigned(Boolean canBeReassigned)

### setCanBeReturned(Boolean) Method

    public void setCanBeReturned(Boolean canBeReturned)

### setClaimant(String) Method

    public void setClaimant(String claimant)

### setClaimDueDate(Date) Method

    public void setClaimDueDate(Date claimDueDate)

### setComment(String) Method

    public void setComment(String comment)

### setCompletionDueDate(Date) Method

    public void setCompletionDueDate(Date completionDueDate)

### setCreationDate(Date) Method

    public void setCreationDate(Date creationDate)

### setDescription(String) Method

    public void setDescription(String description)

### setName(String) Method

    public void setName(String name)

### setOwner(String) Method

    public void setOwner(String owner)

### setParentProcessId(String) Method

    public void setParentProcessId(String parentProcessId)

### setParentProcessUri(String) Method

    public void setParentProcessUri(String parentProcessUri)

### setPriority(Integer) Method

    public void setPriority(Integer priority)

### setRequestType(String) Method

    public void setRequestType(String requestType)

### setResponseType(String) Method

    public void setResponseType(String responseType)

### setStateType(StateType) Method

    public void setStateType(StateType stateType)

### setTaskId(String) Method

    public void setTaskId(String taskId)