|
Oracle Fusion Middleware Java API Reference for Oracle Team Productivity Center 11g Release 2 (11.1.2.3.0) E17494-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.alm.connector.data.LovDef
public class LovDef
The LovDef
defines the list of values used for a work item field. It is the run time data structure for the lovDef tag used in the connector model meta data XML file.
RowDef
, WorkItemQueryDef
Constructor Summary | |
---|---|
LovDef(java.lang.String name, java.lang.String listDataSource) Constructs an LovDef by the given name and the data source. |
Method Summary | |
---|---|
void |
addCriteriaMapEntry(java.lang.String attrName, java.lang.String listAttrName) Adds an LOV criteria map reationship between a list field and a source field. |
void |
addCriteriaMapEntry(java.lang.String attrName, java.lang.String listAttrName, boolean isDependency) Adds an LOV criterion relationship between a list field and a source field. |
void |
addDisplayAttrEntry(java.lang.String listAttrName) Adds an display Attribute. |
void |
addMapEntry(java.lang.String listAttrName, java.lang.String attr) Adds an LOV map reationship between a list field and a source field. |
java.util.Map<java.lang.String,java.lang.String> |
getCriteriaMap() Retrieves the LOV criteria map. |
java.util.Map<java.lang.String,java.lang.Boolean> |
getDependencies() Retrieves the list of fields that the LOV depends on for its search. |
java.util.List<java.lang.String> |
getDisplayList() Returns the display field list. |
java.lang.String |
getListCriteriaDef() Retrieves the query criteria used to get the LOV query results. |
java.lang.String |
getListDataSource() Retrieves the data source name |
java.util.Map<java.lang.String,java.lang.String> |
getLovMap() Retrieves the LOV field map. |
java.lang.String |
getName() Retrieves the LOV name. |
boolean |
isDependentAttr(java.lang.String attrName) Decides if the work item source field is serving as a dependency for other fields for the LOV searching. |
void |
setListCriteriaRef(java.lang.String criteriaName) Sets the query criteria that is used to get the LOV query results. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LovDef(java.lang.String name, java.lang.String listDataSource)
Constructs an LovDef by the given name and the data source.
name
- name of the LOV definitionlistDataSource
- list data source nameMethod Detail |
---|
public java.lang.String getName()
public java.lang.String getListDataSource()
public void setListCriteriaRef(java.lang.String criteriaName)
Sets the query criteria that is used to get the LOV query results.
criteriaName
-public java.lang.String getListCriteriaDef()
Retrieves the query criteria used to get the LOV query results.
public void addMapEntry(java.lang.String listAttrName, java.lang.String attr)
Adds an LOV map reationship between a list field and a source field. This map builds the relationship of how destination data should return to the source.
listAttrName
- the list field nameattr
- the source field namepublic void addCriteriaMapEntry(java.lang.String attrName, java.lang.String listAttrName)
Adds an LOV criteria map reationship between a list field and a source field. This map builds the relationship of how source data can serve as criteria for filtering LOV list data source.
attrName
- the source field namelistAttrName
- the LOV list field namepublic void addCriteriaMapEntry(java.lang.String attrName, java.lang.String listAttrName, boolean isDependency)
Adds an LOV criterion relationship between a list field and a source field. The list field will get the corresponding submitted data for the source field from UI to form a criterion for filtering data from LOV list data source. The "isDependency" attribute is used to indicate whether this criterion is required for fetching data from the LOV list data source or not.
attrName
- the source field namelistAttrName
- the LOV list field nameisDependency
- true if other base fileds are dependent on this LOV fieldpublic java.util.Map<java.lang.String,java.lang.String> getLovMap()
public java.util.Map<java.lang.String,java.lang.Boolean> getDependencies()
public boolean isDependentAttr(java.lang.String attrName)
Decides if the work item source field is serving as a dependency for other fields for the LOV searching.
attrName
- the attribute namepublic java.util.Map<java.lang.String,java.lang.String> getCriteriaMap()
public void addDisplayAttrEntry(java.lang.String listAttrName)
Adds an display Attribute.
listAttrName
-public java.util.List<java.lang.String> getDisplayList()
Returns the display field list.
|
Oracle Fusion Middleware Java API Reference for Oracle Team Productivity Center 11g Release 2 (11.1.2.3.0) E17494-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |