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 KFFBCModeler

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.KFFBCModeler

public class KFFBCModeler
extends AbstractBCModeler

A modeler for a key flexfield.


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
 
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
 
Method Summary
protected  AbstractBCModeler.FlattenedSegment addBISegmentProperties(AbstractBCModeler.FlattenedSegment fs)
          Adds properties to a flattened segment.
 void buildInternal()
          Builds the model.
protected  oracle.jbo.server.ApplicationModuleDefImpl createApplicationModuleDefImpl(int scope, java.lang.String name)
          Creates an ApplicationModuleDefImpl object and sets the corresponding component class.
protected  java.util.List<java.lang.String> getBIEqualizationLabels(SegmentDef seg)
          Gest the list of BI equalization labels for a segment.
protected  java.lang.String getBIModelType()
          Gets the value of property FND_ACFF_Type for BI objects.
protected  java.util.Map<java.lang.Object,java.lang.String> getDiscrValueToViewObjectMap()
          Gets the map from discriminator values to full names of the corresponding view definitions.
protected  java.util.Map<java.lang.String,java.lang.String> getEntityDiscrProperties()
          Gets the properties that should be set on the discriminator of a flexfield entity.
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.
protected  AbstractBCModeler.ValidatorOnCondition getValidatorOnCondition()
          Gets the on-condition for a validator.
 java.lang.String getVersion()
          Gets the version of this modeler.
protected  boolean isValueSetValueDisplaySupported()
          Returns true if the model should support the use of "display values" for ID-based and translatable value sets.
protected  void populateCommonProperties(oracle.jbo.mom.PersistableDefObject pdef, java.lang.String modelerVersion)
          Populates common properties shared by all objects built by this modeler.
 
Methods inherited from class oracle.apps.fnd.applcore.flex.runtime.util.AbstractBCModeler
addBIPrimaryKeys, addContextNameToResourceBundle, addEntityTransientAttribute, addEntityValueSetCustomProperties, addKeyAttributes, addSegmentAttr, addSegmentAttribute, addValueSetParameterTransients, addValueSetTransients, build, buildBIApplicationModule, buildBIAssociation, buildBIEntity, buildBIEntity, buildBIViewDefAndViewLinks, buildBIViewLink, buildListDataSourceViewObjects, buildSegmentAttr, concatenate, concatenate, copySegmentAttrElements, copyTypeInfoFromEntity, createFlexfieldEntity, escapeSQLString, getAlias, getBIAssociationInfo, getBIConcatenatedSegments, getBIFlattenedSegments, getBITransactionAMDefFullName, getEntityAttributeType, getEntityPersonalization, getEntityProperties, getEstimatedListObjWriteCount, getPackages, getPropertyBoundValue, getReport, getResourceBundleBuilder, getResourceBundleClass, isBIGlobalSegment, isDebugMode, 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
 

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.

isValueSetValueDisplaySupported

protected boolean isValueSetValueDisplaySupported()
Description copied from class: AbstractBCModeler
Returns true if the model should support the use of "display values" for ID-based and translatable value sets.

Overrides:
isValueSetValueDisplaySupported in class AbstractBCModeler
Returns:
true if the models hould support the use of "display values"

buildInternal

public void buildInternal()
Builds the model.

Specified by:
buildInternal in class AbstractBCModeler

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

getValidatorOnCondition

protected AbstractBCModeler.ValidatorOnCondition getValidatorOnCondition()
Description copied from class: AbstractBCModeler
Gets the on-condition for a validator.

Overrides:
getValidatorOnCondition in class AbstractBCModeler
Returns:
the on-condition
See Also:
AbstractBCModeler.getEntityPersonalization(oracle.apps.fnd.applcore.flex.runtime.util.FlexfieldEntity, oracle.apps.fnd.applcore.flex.runtime.util.common.ContextValueDef, boolean)

getEntityDiscrProperties

protected java.util.Map<java.lang.String,java.lang.String> getEntityDiscrProperties()
Description copied from class: AbstractBCModeler
Gets the properties that should be set on the discriminator of a flexfield entity.

Overrides:
getEntityDiscrProperties in class AbstractBCModeler
Returns:
the properties for the entity discriminator
See Also:
AbstractBCModeler.getEntityDiscriminatorName(oracle.apps.fnd.applcore.flex.runtime.util.FlexfieldEntity), AbstractBCModeler.getEntityPersonalization(oracle.apps.fnd.applcore.flex.runtime.util.FlexfieldEntity, oracle.apps.fnd.applcore.flex.runtime.util.common.ContextValueDef, boolean)

getDiscrValueToViewObjectMap

protected java.util.Map<java.lang.Object,java.lang.String> getDiscrValueToViewObjectMap()
Description copied from class: AbstractBCModeler
Gets the map from discriminator values to full names of the corresponding view definitions. The default implementation uses the default FlexfieldNamespace object to construct the view definition full names, and calls ContextValueDef#getValue() to obtain the discriminator value. Subclasses should override this method if the naming of the view objects is different, or the alternative values should be used.

This method is invoked by populateDiscrViewObjectMap.

Overrides:
getDiscrValueToViewObjectMap in class AbstractBCModeler
Returns:
the map from discriminator values to full names of the corresponding view definitions; an empty map if this flexfield does not have any discriminator value
See Also:
AbstractBCModeler.populateDiscrViewObjectMap(ViewDefImpl)

populateCommonProperties

protected void populateCommonProperties(oracle.jbo.mom.PersistableDefObject pdef,
                                        java.lang.String modelerVersion)
Description copied from class: AbstractBCModeler
Populates common properties shared by all objects built by this modeler.

Overrides:
populateCommonProperties in class AbstractBCModeler
Parameters:
pdef - the object
modelerVersion - the runtime version; null if no version information is available

getPropertyBoundValueMap

protected 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)

getFlexfieldEntity

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

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

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

addBISegmentProperties

protected AbstractBCModeler.FlattenedSegment addBISegmentProperties(AbstractBCModeler.FlattenedSegment fs)
Description copied from class: AbstractBCModeler
Adds properties to a flattened segment.

Overrides:
addBISegmentProperties in class AbstractBCModeler
Parameters:
fs - the flattened segment
Returns:
the flattened segment with properties added

getBIEqualizationLabels

protected java.util.List<java.lang.String> getBIEqualizationLabels(SegmentDef seg)
Description copied from class: AbstractBCModeler
Gest the list of BI equalization labels for a segment. A BI equalization label must be a string that can be used as an entity or view attribute name.

Overrides:
getBIEqualizationLabels in class AbstractBCModeler
Parameters:
seg - the segment
Returns:
the list of BI equalization labels
See Also:
AbstractBCModeler.getBIFlattenedSegments(java.lang.String)

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

E22562-03

Copyright © 2012 Oracle. All Rights Reserved.