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

E22562-03

oracle.apps.fnd.applcore.flex.runtime.util
Class DFFBCModeler

java.lang.Object
  extended by oracle.apps.fnd.applcore.flex.runtime.util.BCModeler
      extended by oracle.apps.fnd.applcore.flex.runtime.util.AbstractBCModeler
          extended by oracle.apps.fnd.applcore.flex.runtime.util.DFFBCModeler
Direct Known Subclasses:
EFFBCModeler

public class DFFBCModeler
extends AbstractBCModeler

A modeler that builds a model for a descriptive flexfield standard usage.


Nested Class Summary
 
Nested classes/interfaces inherited from class oracle.apps.fnd.applcore.flex.runtime.util.AbstractBCModeler
AbstractBCModeler.BIEntity, AbstractBCModeler.BIValueLinkInfo, AbstractBCModeler.BIViewUsageInfo, AbstractBCModeler.EntityPersonalization, AbstractBCModeler.FlattenedSegment, AbstractBCModeler.IntegerSequence, AbstractBCModeler.SegmentAttrElements, AbstractBCModeler.SegmentAttributeInfo, AbstractBCModeler.SegmentValidators, AbstractBCModeler.TokenWrapper, AbstractBCModeler.ValidatorOnCondition
 
Nested classes/interfaces inherited from class oracle.apps.fnd.applcore.flex.runtime.util.BCModeler
BCModeler.Arguments, BCModeler.Option, BCModeler.Options, BCModeler.Parameter, BCModeler.ProgressStage
 
Field Summary
protected static java.lang.String RUNTIME_VERSION
          The runtime version of the models built by this modeler.
 
Fields inherited from class oracle.apps.fnd.applcore.flex.runtime.util.AbstractBCModeler
_configuration, _flexfieldDef, _flexfieldEntityUsage, _modelID, _namespace, _serviceEnabler, _writer, BI_ENTITY_ALIAS, BI_EO_USAGE_NAME, SQL_STRING_WRAPPER
 
Constructor Summary
DFFBCModeler(FlexfieldNamespace namespace, FlexfieldDef ff, FlexfieldEntityUsage usage, BCModelerWriter writer, java.util.Map<BCModeler.Option,java.lang.Object> configuration)
          Constructs a modeler for a descriptive flexfield standard usage.
 
Method Summary
protected  java.util.List<AbstractBCModeler.FlattenedSegment> addBIPrimaryKeys(java.util.List<AbstractBCModeler.FlattenedSegment> list)
          Adds primary key attributes to a flattened segment list.
protected  oracle.jbo.server.AttributeDefImpl addSegmentAttribute(oracle.jbo.server.ViewDefImpl viewDef, SegmentDef seg, java.lang.String entityUsageName, FlexfieldEntity flexfieldEntity, java.util.ArrayList<java.lang.String> selectAttrs, java.util.ArrayList<java.lang.String> fromClauseItems, java.util.ArrayList<java.lang.String> whereClauseItems, ContextValueDef contextValueDef, boolean useAltDiscriminator)
           
 void buildInternal()
          Builds the model.
protected  oracle.jbo.server.AttributeDefImpl buildSegmentAttribute(SegmentDef seg, AbstractBCModeler.SegmentAttributeInfo info)
           
protected  oracle.jbo.server.ApplicationModuleDefImpl createApplicationModuleDefImpl(int scope, java.lang.String name)
          Creates an ApplicationModuleDefImpl object and sets the corresponding component class.
protected  oracle.jbo.server.ViewDefImpl createViewDefImpl(int scope, java.lang.String name)
           
protected  AbstractBCModeler.BIValueLinkInfo getBIAssociationInfo(AbstractBCModeler.BIEntity biEntity, AbstractBCModeler.FlattenedSegment fs)
          Gets the BI association info.
protected  java.lang.String getBIModelType()
          Gets the value of property FND_ACFF_Type for BI objects.
protected  FlexfieldEntity getFlexfieldEntity()
          Gets the flexfield entity.
protected  java.util.Map<java.lang.String,java.lang.Object> getPropertyBoundValueMap(java.lang.Object discrValue, SegmentDef seg)
          Gets the map of property bound values.
 java.lang.String getVersion()
          Gets the version of this modeler.
protected  boolean isBIGlobalSegment(SegmentDef globalSeg)
          Checks whether a global segment should be included in the BI model.
 
Methods inherited from class oracle.apps.fnd.applcore.flex.runtime.util.AbstractBCModeler
addBISegmentProperties, addContextNameToResourceBundle, addEntityTransientAttribute, addEntityValueSetCustomProperties, addKeyAttributes, addSegmentAttr, addSegmentAttribute, addValueSetParameterTransients, addValueSetTransients, build, buildBIApplicationModule, buildBIAssociation, buildBIEntity, buildBIEntity, buildBIViewDefAndViewLinks, buildBIViewLink, buildListDataSourceViewObjects, buildSegmentAttr, concatenate, concatenate, copySegmentAttrElements, copyTypeInfoFromEntity, createFlexfieldEntity, escapeSQLString, getAlias, getBIConcatenatedSegments, getBIEqualizationLabels, getBIFlattenedSegments, getBITransactionAMDefFullName, getDiscrValueToViewObjectMap, getEntityAttributeType, getEntityDiscrProperties, getEntityPersonalization, getEntityProperties, getEstimatedListObjWriteCount, getPackages, getPropertyBoundValue, getReport, getResourceBundleBuilder, getResourceBundleClass, getValidatorOnCondition, isDebugMode, isValueSetValueDisplaySupported, populateCommonProperties, populateDiscrViewObjectMap, populateProperties, populateProperties, populateSegmentUIHints, populateSegmentUIHints, setDebugMode, setResourceBundleClass
 
Methods inherited from class oracle.apps.fnd.applcore.flex.runtime.util.BCModeler
escapeJavaString, getFactory, getFactory, isDevelopmentMode, main, notifyAction, notifyProgress, notifyProgress, run, run, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RUNTIME_VERSION

protected static final java.lang.String RUNTIME_VERSION
The runtime version of the models built by this modeler. The runtime version is an indicator of how the generated models are compatible with the runtime classes such as the various Impl classes. In general, newer models should continue to work with an older runtime, but a new runtime may require the existing models to be updated.

See Also:
Constant Field Values
Constructor Detail

DFFBCModeler

public DFFBCModeler(FlexfieldNamespace namespace,
                    FlexfieldDef ff,
                    FlexfieldEntityUsage usage,
                    BCModelerWriter writer,
                    java.util.Map<BCModeler.Option,java.lang.Object> configuration)
Constructs a modeler for a descriptive flexfield standard usage.

Parameters:
namespace - the namespace
ff - the flexfield definition
usage - the flexfield entity usage
writer - the modeler writer
configuration - the entity usage configuration
Method Detail

getVersion

public java.lang.String getVersion()
Description copied from class: BCModeler
Gets the version of this modeler.

Overrides:
getVersion in class AbstractBCModeler
Returns:
the version of this modeler.

buildInternal

public void buildInternal()
Description copied from class: AbstractBCModeler
Builds the model.

Specified by:
buildInternal in class AbstractBCModeler

createViewDefImpl

protected oracle.jbo.server.ViewDefImpl createViewDefImpl(int scope,
                                                          java.lang.String name)

createApplicationModuleDefImpl

protected oracle.jbo.server.ApplicationModuleDefImpl createApplicationModuleDefImpl(int scope,
                                                                                    java.lang.String name)
Description copied from class: AbstractBCModeler
Creates an ApplicationModuleDefImpl object and sets the corresponding component class.

Overrides:
createApplicationModuleDefImpl in class AbstractBCModeler
Parameters:
scope - the scope of the definition object
name - the short name of the application module
Returns:
an ApplicationModuleDefImpl object
See Also:
FlexfieldApplicationModuleImpl

getPropertyBoundValueMap

protected final java.util.Map<java.lang.String,java.lang.Object> getPropertyBoundValueMap(java.lang.Object discrValue,
                                                                                          SegmentDef seg)
Description copied from class: AbstractBCModeler
Gets the map of property bound values. These values are bound to bind variables defined in a list data source view object to participate in the query of the list.

Subclasses should always call the super method first to get the common properties.

Overrides:
getPropertyBoundValueMap in class AbstractBCModeler
Parameters:
discrValue - the discriminator value
seg - the segment
Returns:
the map of property bound values
See Also:
AbstractBCModeler.addSegmentAttribute(oracle.jbo.server.ViewDefImpl, oracle.apps.fnd.applcore.flex.runtime.util.common.SegmentDef, oracle.apps.fnd.applcore.flex.runtime.util.AbstractBCModeler.IntegerSequence, java.lang.String, oracle.apps.fnd.applcore.flex.runtime.util.FlexfieldEntity, java.util.ArrayList, java.util.ArrayList, java.util.ArrayList, oracle.apps.fnd.applcore.flex.runtime.util.common.ContextValueDef, boolean)

addSegmentAttribute

protected oracle.jbo.server.AttributeDefImpl addSegmentAttribute(oracle.jbo.server.ViewDefImpl viewDef,
                                                                 SegmentDef seg,
                                                                 java.lang.String entityUsageName,
                                                                 FlexfieldEntity flexfieldEntity,
                                                                 java.util.ArrayList<java.lang.String> selectAttrs,
                                                                 java.util.ArrayList<java.lang.String> fromClauseItems,
                                                                 java.util.ArrayList<java.lang.String> whereClauseItems,
                                                                 ContextValueDef contextValueDef,
                                                                 boolean useAltDiscriminator)

buildSegmentAttribute

protected oracle.jbo.server.AttributeDefImpl buildSegmentAttribute(SegmentDef seg,
                                                                   AbstractBCModeler.SegmentAttributeInfo info)

getFlexfieldEntity

protected FlexfieldEntity getFlexfieldEntity()
Description copied from class: AbstractBCModeler
Gets the flexfield entity.

Specified by:
getFlexfieldEntity in class AbstractBCModeler
Returns:
the flexfield entity

isBIGlobalSegment

protected boolean isBIGlobalSegment(SegmentDef globalSeg)
Description copied from class: AbstractBCModeler
Checks whether a global segment should be included in the BI model.

Overrides:
isBIGlobalSegment in class AbstractBCModeler
Parameters:
globalSeg - the global segment
Returns:
true if the global segment should be included in the BI model

addBIPrimaryKeys

protected java.util.List<AbstractBCModeler.FlattenedSegment> addBIPrimaryKeys(java.util.List<AbstractBCModeler.FlattenedSegment> list)
Description copied from class: AbstractBCModeler
Adds primary key attributes to a flattened segment list.

Overrides:
addBIPrimaryKeys in class AbstractBCModeler
Parameters:
list - the list of flattened segments
Returns:
the list of flattened segments with primary key attributes added
See Also:
AbstractBCModeler.getBIFlattenedSegments(java.lang.String)

getBIModelType

protected java.lang.String getBIModelType()
Description copied from class: AbstractBCModeler
Gets the value of property FND_ACFF_Type for BI objects.

Overrides:
getBIModelType in class AbstractBCModeler
Returns:
the value of property FND_ACFF_Type

getBIAssociationInfo

protected AbstractBCModeler.BIValueLinkInfo getBIAssociationInfo(AbstractBCModeler.BIEntity biEntity,
                                                                 AbstractBCModeler.FlattenedSegment fs)
Description copied from class: AbstractBCModeler
Gets the BI association info.

Overrides:
getBIAssociationInfo in class AbstractBCModeler
Parameters:
biEntity - the BI entity
fs - the flattened segment
Returns:
the BI association info

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

E22562-03

Copyright © 2012 Oracle. All Rights Reserved.