com.ibm.itim.workflow.model
Class Assignment

java.lang.Object
  |
  +--com.ibm.itim.workflow.model.Assignment
All Implemented Interfaces:
java.io.Serializable

public class Assignment
extends java.lang.Object
implements java.io.Serializable

This class provides general information about an assignment, or work item.

See Also:
Serialized Form

Constructor Summary
Assignment()
           
 
Method Summary
 long getActivityId()
          Returns the ID of the activity associated with this assignment.
 ActivityParticipant getActivityParticipant()
          Returns the participant of the assignment.
 java.lang.String getActivitySubType()
          Returns the sub-type of the activity associated with this assignment.
 java.lang.String getActivityType()
          Return the type of the activity associated with this assignment.
 long getId()
          Returns the identifier of the assignment.
 long getProcessId()
          Returns the ID of the process that is running this assignment.
 java.lang.String getRequestee()
          Returns the name of the process requestee associated with this assignment.
 java.lang.String getRequester()
          Returns the name of the process requester associated with this assignment.
 java.lang.String getSubject()
          Returns the subject of the process associated with this assignment.
 java.util.Date getTimeCreated()
          Returns the date/time the assignment was made.
 void setActivityId(long activityId)
          Changes the ID of the activity associated with this assignment.
 void setActivitySubType(java.lang.String activitySubType)
          Changes the sub-type of the activity associated with this assignment.
 void setActivityType(java.lang.String activityType)
          Changes the type of the activity associated with this assignment.
 void setId(long id)
          Changes the identifier of the assignment.
 void setParticipant(ActivityParticipant participant)
          Changes the participant of the assignment.
 void setProcessId(long processId)
          Changes the ID of the assignment process.
 void setRequestee(java.lang.String requestee)
          Changes the name of the process requestee associated with this assignment.
 void setRequester(java.lang.String requester)
          Changes the name of the process requester associated with this assignment.
 void setSubject(java.lang.String subject)
          Changes the subject of the process associated with this assignment.
 void setTimeCreated(java.util.Date timeCreated)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Assignment

public Assignment()
Method Detail

getId

public long getId()
Returns the identifier of the assignment.
Returns:
ID of the assignment.

setId

public void setId(long id)
Changes the identifier of the assignment.
Parameters:
ID - of the assignment.

getActivityParticipant

public ActivityParticipant getActivityParticipant()
Returns the participant of the assignment.
Returns:
ActivityParticipant representing the assignment participant.

setParticipant

public void setParticipant(ActivityParticipant participant)
Changes the participant of the assignment.
Parameters:
participant - ActivityParticipant of the assignment.

getTimeCreated

public java.util.Date getTimeCreated()
Returns the date/time the assignment was made.
Returns:
Date the assignment was made.

setTimeCreated

public void setTimeCreated(java.util.Date timeCreated)

getProcessId

public long getProcessId()
Returns the ID of the process that is running this assignment.
Returns:
ID of the assignment process.

setProcessId

public void setProcessId(long processId)
Changes the ID of the assignment process.
Parameters:
processId - ID of the assignment process.

getActivityId

public long getActivityId()
Returns the ID of the activity associated with this assignment.
Returns:
ID of the activity associated with this assignment.

setActivityId

public void setActivityId(long activityId)
Changes the ID of the activity associated with this assignment.
Parameters:
ID - of the activity associated with this assignment.

getActivityType

public java.lang.String getActivityType()
Return the type of the activity associated with this assignment.
Returns:
Type of the activity associated with this assignment.

setActivityType

public void setActivityType(java.lang.String activityType)
Changes the type of the activity associated with this assignment.
Parameters:
Type - of the activity associated with this assignment.

getActivitySubType

public java.lang.String getActivitySubType()
Returns the sub-type of the activity associated with this assignment. Note: not all activities have a subtype. Those activities will return an empty string.
Returns:
Sub-type of the activity associated with this assignment, the empty string if not applicable.

setActivitySubType

public void setActivitySubType(java.lang.String activitySubType)
Changes the sub-type of the activity associated with this assignment. Note: not all activities have a subtype. Those activities will return an empty string.
Parameters:
Sub-type - of the activity associated with this assignment, the empty string if not applicable.

getSubject

public java.lang.String getSubject()
Returns the subject of the process associated with this assignment.
Returns:
subject Subject of the process associated with this assignment.

setSubject

public void setSubject(java.lang.String subject)
Changes the subject of the process associated with this assignment.
Parameters:
subject - Subject of the process associated with this assignment.

getRequestee

public java.lang.String getRequestee()
Returns the name of the process requestee associated with this assignment.
Returns:
name Name of the process requestee associated with this assignment.

setRequestee

public void setRequestee(java.lang.String requestee)
Changes the name of the process requestee associated with this assignment.
Parameters:
name - Name of the process requestee associated with this assignment.

getRequester

public java.lang.String getRequester()
Returns the name of the process requester associated with this assignment.
Returns:
name Name of the process requester associated with this assignment.

setRequester

public void setRequester(java.lang.String requester)
Changes the name of the process requester associated with this assignment.
Parameters:
name - Name of the process requester associated with this assignment.