Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Team Productivity Center
11g Release 2 (11.1.2.2.0)
E17494-03


oracle.alm.connector.data
Class WorkItem

java.lang.Object
  extended by oracle.alm.connector.data.Row
      extended by oracle.alm.connector.data.WorkItem


public class WorkItem
extends Row

TheWorkItem class represents a runtime work item data.

Since:
11.1.1.1.0
See Also:
WorkItemDef, Row

Constructor Summary
WorkItem()
           

 

Method Summary
 WorkItem createNew()
          Creates a new work item instance based on the current one.
 java.util.List<Row> getComments()
          Sets a multi lines of comments for the work item.
 java.lang.String getSubject()
          Retrieves the subject text of the work item.
 java.util.Map<java.lang.String,java.net.URL> getWebURLs()
          Gets the list of URLs used by the work item fields.
static void replace(WorkItem destWI, WorkItem srcWI)
          Copies data from one work item to another.
 void setSubject(java.lang.String subject)
          Sets the subject text for the work item.

 

Methods inherited from class oracle.alm.connector.data.Row
display, getListData, getRowKey, getSubmittedValues, getValues, isDirty, isNew, setDirty, setListData, setNew, setRowKey, setSubmittedValue, setValue

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

WorkItem

public WorkItem()

Method Detail

setSubject

public void setSubject(java.lang.String subject)
Sets the subject text for the work item.
Parameters:
subject - the text for work item subject

getSubject

public java.lang.String getSubject()
Retrieves the subject text of the work item.
Returns:
the text for work item subject

getComments

public java.util.List<Row> getComments()
Sets a multi lines of comments for the work item. Each line is represented by a Row.
Returns:
comments for the work item

getWebURLs

public java.util.Map<java.lang.String,java.net.URL> getWebURLs()
Gets the list of URLs used by the work item fields.
Returns:
list of web references (URLs)

createNew

public WorkItem createNew()
Creates a new work item instance based on the current one.
Returns:
the new work item row

replace

public static void replace(WorkItem destWI,
                           WorkItem srcWI)
Copies data from one work item to another.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Team Productivity Center
11g Release 2 (11.1.2.2.0)
E17494-03


Copyright © 1998,2012, Oracle. All rights reserved.