Oracle Fusion Middleware extensions for Enterprise Scheduler Service
11g Release 1 (11.1.1.5)

E22563-01

oracle.apps.fnd.applcp.migrate.modeler
Class DFFBCModeler

java.lang.Object
  extended by oracle.apps.fnd.applcp.migrate.modeler.BCModeler
      extended by oracle.apps.fnd.applcp.migrate.modeler.AbstractBCModeler
          extended by oracle.apps.fnd.applcp.migrate.modeler.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.applcp.migrate.modeler.AbstractBCModeler
AbstractBCModeler.EntityPersonalization, AbstractBCModeler.SegmentValidators, AbstractBCModeler.ValidatorOnCondition
 
Nested classes/interfaces inherited from class oracle.apps.fnd.applcp.migrate.modeler.BCModeler
BCModeler.Arguments, BCModeler.CommandLineArgs, BCModeler.Option, BCModeler.Options, BCModeler.Parameter
 
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.applcp.migrate.modeler.AbstractBCModeler
_flexfieldDef, _flexfieldEntityUsage, _modelID, _namespace, _writer
 
Constructor Summary
DFFBCModeler(FlexfieldNamespace namespace, FlexfieldDef ff, FlexfieldEntityUsage usage, BCModelerWriter writer)
          Constructs a modeler for a descriptive flexfield standard usage.
 
Method Summary
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)
          Adds a segment to a view object as a view attribute.
 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  oracle.jbo.server.ViewDefImpl createViewDefImpl(int scope, java.lang.String name)
          Creates a ViweDefImpl object and sets the corresponding row class and component class.
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.
 
Methods inherited from class oracle.apps.fnd.applcp.migrate.modeler.AbstractBCModeler
addKeyAttributes, addSegmentAttributeAsViewAttribute, addValueSetTransients, build, buildListDataSourceViewObjects, concatenate, createFlexfieldEntity, getEntityPersonalization, getEntityProperties, getReport, getValidatorOnCondition, populateCommonProperties, populateProperties, populateProperties, populateSegmentUIHints, setOutputPath
 
Methods inherited from class oracle.apps.fnd.applcp.migrate.modeler.BCModeler
escapeJavaString, isDevelopmentMode, main, run, run, setAttributeControlHints
 
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)
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
Method Detail

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)
Description copied from class: AbstractBCModeler
Creates a ViweDefImpl object and sets the corresponding row class and component class.

Overrides:
createViewDefImpl in class AbstractBCModeler
Parameters:
scope - the scope of the object
name - the short name of the view definition
Returns:
a FlexfieldViewDefImpl object
See Also:
FlexfieldViewDefImpl, FlexfieldViewRowImpl, FlexfieldViewObjectImpl

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.applcp.migrate.modeler.common.SegmentDef, java.lang.String, oracle.apps.fnd.applcp.migrate.modeler.FlexfieldEntity, java.util.ArrayList, java.util.ArrayList, java.util.ArrayList, oracle.apps.fnd.applcp.migrate.modeler.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)
Description copied from class: AbstractBCModeler
Adds a segment to a view object as a view attribute. This is a complex process which involves adding transient attributes, view accessors, list bindings, and anything that is required for the segment to function properly at runtime.

Overrides:
addSegmentAttribute in class AbstractBCModeler
Parameters:
viewDef - the view object
seg - the segment
entityUsageName - the name of the entity usage
flexfieldEntity - the flexfield entity
selectAttrs - the list of items in the select clause
fromClauseItems - the list of items in the from clause
whereClauseItems - the list of items in the where clause
contextValueDef - the context value
useAltDiscriminator - true if the alternative value of the context should be used as a discriminator value. In such a case, the view attribute will not be marked as a discriminator.
Returns:
the view attribute added for the segment
See Also:
AbstractBCModeler.getPropertyBoundValue(java.lang.Object, oracle.apps.fnd.applcp.migrate.modeler.common.SegmentDef)

getFlexfieldEntity

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

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

Oracle Fusion Middleware extensions for Enterprise Scheduler Service
11g Release 1 (11.1.1.5)

E22563-01

Copyright © 2011 Oracle. All Rights Reserved.