|
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.DataSourceDef
public class DataSourceDef
The DataSourceDef
defines a data source for
a work item field. It is the run time data structure
for the DataSource tag used in the connector model meta data XML file.
Constructor Summary | |
---|---|
DataSourceDef(java.lang.String name)
Constructs a data source with the specified name. |
Method Summary | |
---|---|
void |
AddCriteria(java.lang.String name,
WorkItemQuery criteria)
Adds a criterion to be used by the data source. |
WorkItemQuery |
getCriteria(java.lang.String name)
Retrieves query criteria used for the data source. |
java.util.Map<java.lang.String,WorkItemFieldDef> |
getFieldDefs()
Retrieves all the field definitions created based on the model XML data |
java.lang.String |
getIdDef()
Retrieves the field name used to uniquely identify a row of data record |
java.lang.String |
getName()
Retrieves the data source name. |
void |
setFieldDef(WorkItemFieldDef fieldDef)
Sets all fields definition for the data source. |
void |
setIdDef(java.lang.String idDef)
Sets the id definition for row data in the data source. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataSourceDef(java.lang.String name)
name
- the name given to the data source object.Method Detail |
---|
public java.lang.String getName()
public void setIdDef(java.lang.String idDef)
idDef
- an field name used to uniquely identify a row of data record
in the data source.public java.lang.String getIdDef()
public java.util.Map<java.lang.String,WorkItemFieldDef> getFieldDefs()
public WorkItemQuery getCriteria(java.lang.String name)
name
- criteria name.
public void setFieldDef(WorkItemFieldDef fieldDef)
Sets all fields definition for the data source.
fieldDef
- WorkItemFieldDef object that contains all field definition based on model XML.public void AddCriteria(java.lang.String name, WorkItemQuery criteria)
Adds a criterion to be used by the data source.
name
- criteria namecriteria
- a criteria
|
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 |