|
Oracle Fusion Middleware Java API Reference for Oracle Team Productivity Center 11g Release 2 (11.1.2.1.0) E17494-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.alm.connector.data.CommentDef
public class CommentDef
The CommentDef
defines a work item comment.
Comment can be defined declaratively in a connector model meta data file,
which can be used in the connector code for create, update, or remove comments
from the work item at runtime.
Following code shows how to access CommentDef
in the code.
CommentDef commentDef = widef.getCommentDef();
Constructor Summary | |
---|---|
CommentDef()
Sole constructor. |
Method Summary | |
---|---|
java.lang.String |
getCriteriaRef()
Retrieves the query criteria definition. |
java.lang.String |
getDataSource()
Retrieves the data source name where the comments are maintained. |
java.lang.String |
getSourceAttrDef()
Retrieves the field name that the work item comment is based on. |
void |
setCriteriaRef(java.lang.String criteriaRef)
Sets the query criteria for the comment. |
void |
setDataSource(java.lang.String dataSource)
Sets the data source where the comments are maintained. |
void |
setSourceAttrDef(java.lang.String srcAttr)
Sets the field name to get the comment from. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CommentDef()
Method Detail |
---|
public void setDataSource(java.lang.String dataSource)
Sets the data source where the comments are maintained.
dataSource
- name of the data sourcepublic java.lang.String getDataSource()
Retrieves the data source name where the comments are maintained.
public void setSourceAttrDef(java.lang.String srcAttr)
Sets the field name to get the comment from.
srcAttr
- the source field name for the commentpublic java.lang.String getSourceAttrDef()
Retrieves the field name that the work item comment is based on.
public void setCriteriaRef(java.lang.String criteriaRef)
Sets the query criteria for the comment.
criteriaRef
- the criteria applied on the datasource when getting data for the commentpublic java.lang.String getCriteriaRef()
Retrieves the query criteria definition.
|
Oracle Fusion Middleware Java API Reference for Oracle Team Productivity Center 11g Release 2 (11.1.2.1.0) E17494-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |