Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.6)

E22562-05

oracle.apps.fnd.applcore.trees.uiModel
Class DataSource

java.lang.Object
  extended by oracle.apps.fnd.applcore.trees.uiModel.DataSource
All Implemented Interfaces:
java.io.Serializable

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

Run-time representation of a raw tree structure data source definition(unprocessed).

Author:
Abhay K Kumar <abhay.k.kumar@oracle.com>
See Also:
Serialized Form

Constructor Summary
DataSource()
          Blank Constructor for DataSource.
DataSource(FndTsDataSourceRelVORow dsRel)
          Create a raw data source with no parent.
DataSource(FndTsDataSourceRelVORow dsRel, DataSource parentDS)
          Create a raw data source with the specified parent.
 
Method Summary
 DataSource findDataSource(java.lang.String dataSourceId)
          Finds the data source with the given ID within this data source's hierarchy.
 DataSource findParent()
          Gets the parent raw(unprocessed) data source.
 java.lang.String getAllowAsTerminalNode()
          Gets the value for flag AllowAsTerminalNode.
 java.lang.String getAllowDuplicateNodes()
          Gets the value for allow duplicate nodes flag.
 java.lang.String getAllowNodeLevelSecurity()
          Gets the value for allow node level security flag.
 java.util.List<DataSource> getChildren()
          Gets the children data sources.
 java.lang.String getDataSourceId()
          Gets the data source ID.
 java.lang.String getDisplayName()
           
 java.util.List<java.lang.String> getLabelPkColumns()
          Gets the List of primary key columns name for label view object of data source.
 java.lang.String getLabelVoDefName()
          Gets the data source label VO definition name.
 java.lang.Long getMaxDepth()
          Gets the Max Depth value defined for this data source.
 int getMaxDepthAsInt()
          Gets the max depth for this data source.
 java.util.List<Parameter> getParams()
          Gets the parameters associated with this data source.
 DataSource getParent()
          Deprecated. Use findParent() instead
 java.lang.String getParentDataSourceId()
          Gets the parent data source ID.
 java.util.List<java.lang.String> getPkColumns()
          Gets the List of primary key columns name for given data source.
 java.lang.String getRangeAllowed()
          Gets the Range Allowed property for this data Source.
 java.lang.String getTreeStructureCode()
           
 java.lang.String getUsageLimit()
          Gets the usage limit scope defined for the data source.
 java.lang.String getViewLinkAccessor()
          Gets the View link accessor name for the data source.
 oracle.jbo.ViewDef getVoDef()
          Gets the data source VO definition.
 java.lang.String getVoDefName()
          Gets the data source VO definition name.
 java.lang.String toString()
          Provides a String representation of the Tree Structure.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DataSource

public DataSource()
Blank Constructor for DataSource.


DataSource

public DataSource(FndTsDataSourceRelVORow dsRel)
Create a raw data source with no parent.

Parameters:
dsRel - the FndTsDataSourceRelVORow

DataSource

public DataSource(FndTsDataSourceRelVORow dsRel,
                  DataSource parentDS)
Create a raw data source with the specified parent.

Parameters:
dsRel - the FndTsDataSourceRelVORow
parentDS - the parent data source
Method Detail

findParent

public DataSource findParent()
Gets the parent raw(unprocessed) data source.

Returns:
DataSource the parent raw data source

getParent

@Deprecated
public DataSource getParent()
Deprecated. Use findParent() instead

This method has now been deprecated in favor of findParent()


getParentDataSourceId

public java.lang.String getParentDataSourceId()
Gets the parent data source ID.

Returns:
String the parent data source ID

getDataSourceId

public java.lang.String getDataSourceId()
Gets the data source ID.

Returns:
String the data source ID

getVoDefName

public java.lang.String getVoDefName()
Gets the data source VO definition name.

Returns:
String the VO definition name

getVoDef

public oracle.jbo.ViewDef getVoDef()
Gets the data source VO definition.

Returns:
ViewDef the VO definition

getLabelVoDefName

public java.lang.String getLabelVoDefName()
Gets the data source label VO definition name.

Returns:
String the label VO definition name

getChildren

public java.util.List<DataSource> getChildren()
Gets the children data sources.

Returns:
List the children data sources

getParams

public java.util.List<Parameter> getParams()
Gets the parameters associated with this data source.

Returns:
List the list of parameters
See Also:
Parameter

getRangeAllowed

public java.lang.String getRangeAllowed()
Gets the Range Allowed property for this data Source.

Returns:
"Y" if ranges based child is allowed for this data Source

toString

public java.lang.String toString()
Provides a String representation of the Tree Structure.

Overrides:
toString in class java.lang.Object
Returns:
String the String representation

findDataSource

public DataSource findDataSource(java.lang.String dataSourceId)
Finds the data source with the given ID within this data source's hierarchy.

Parameters:
dataSourceId - the ID being searched for
Returns:
DataSource the data source, if found

getPkColumns

public java.util.List<java.lang.String> getPkColumns()
Gets the List of primary key columns name for given data source.

Returns:
List of Primary Key attribute names

getLabelPkColumns

public java.util.List<java.lang.String> getLabelPkColumns()
Gets the List of primary key columns name for label view object of data source.

Returns:
List of Primary Key attribute names for label view object of dta source

getAllowNodeLevelSecurity

public java.lang.String getAllowNodeLevelSecurity()
Gets the value for allow node level security flag.

Returns:
allow node level security flag

getMaxDepth

public java.lang.Long getMaxDepth()
Gets the Max Depth value defined for this data source.

Returns:
max depth as Long value

getMaxDepthAsInt

public int getMaxDepthAsInt()
Gets the max depth for this data source.

Returns:
the max depth

getAllowDuplicateNodes

public java.lang.String getAllowDuplicateNodes()
Gets the value for allow duplicate nodes flag.

Returns:
Y/N to indicate whether duplicate nodes are allowed or not

getUsageLimit

public java.lang.String getUsageLimit()
Gets the usage limit scope defined for the data source.

Returns:
usageLimit as String value (USEALL/NONE)

getAllowAsTerminalNode

public java.lang.String getAllowAsTerminalNode()
Gets the value for flag AllowAsTerminalNode.

Returns:
Y/N to indicate whether nodes from this data source can be terminal node

getViewLinkAccessor

public java.lang.String getViewLinkAccessor()
Gets the View link accessor name for the data source.

Returns:
name of view link accessor

getDisplayName

public java.lang.String getDisplayName()

getTreeStructureCode

public java.lang.String getTreeStructureCode()

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.6)

E22562-05

Copyright © 2012 Oracle. All Rights Reserved.