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

E22562-05

oracle.apps.fnd.applcore.dt.attachments.component.binding.provider
Class ColumnModel

java.lang.Object
  extended by oracle.adfdt.view.common.binding.provider.ADFBaseProvider
      extended by oracle.apps.fnd.applcore.dt.attachments.component.binding.provider.ColumnModel
All Implemented Interfaces:
oracle.adfdt.view.common.binding.provider.ModelProvider

public class ColumnModel
extends oracle.adfdt.view.common.binding.provider.ADFBaseProvider

Model Provider for DFF in table.


Constructor Summary
ColumnModel(oracle.adfdt.ADFDesignTimeContext dtContext, oracle.adfdt.model.objects.DataControl dataControl, oracle.binding.meta.NamedDefinition dataControlDefinition)
          constructor.
 
Method Summary
 boolean configureModelFromView(org.w3c.dom.Node insertParent)
          get the table binding from view.
 java.lang.String getAccessorName()
           
protected  java.lang.String getAccessorName(oracle.binding.meta.NamedDefinition definition)
           
 java.lang.String getCollectionModelExpressionForColumn()
          provide the expression to access the iterator for Attachments Column.
 oracle.adfdt.model.objects.ControlBinding getControlBinding()
          Returns the iterator binding used for this model.
 java.lang.String getControlId()
          Returns the id of the iterator binding used for this model.
 oracle.binding.meta.NamedDefinition getDefinition()
          Returns the definition representing the accessor for the iterator model.
 java.lang.String getDisplayName()
          Gets a display name for the definition representing the accessor for the iterator model.
protected  java.lang.String getIteratorName(oracle.binding.meta.NamedDefinition definition, oracle.adfdt.model.objects.CtrlHier binding)
          Modify the binding as necessary, and get the name of the iterator just created.
protected  oracle.adfdt.model.objects.CtrlHier getTableBinding()
          This method creates the UniqueControl Binding and then creates the nodeDefinition and AttrNames in teh pageDef.
 
Methods inherited from class oracle.adfdt.view.common.binding.provider.ADFBaseProvider
createControlBinding, createControlBinding, createControlBinding, createControlBinding, createExecutableBinding, createIteratorBinding, createUniqueControlBinding, createUniqueControlBinding, createUniqueIteratorBinding, fireNewBindingAddedEvent, getDataControl, getDTApplication, getDTBaseBindingContainer, getDTContext, getDTPageDefinitionUsage, initializeBindingEnvironment, initializeFromParent, isReadOnly, setupApplication
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColumnModel

public ColumnModel(oracle.adfdt.ADFDesignTimeContext dtContext,
                   oracle.adfdt.model.objects.DataControl dataControl,
                   oracle.binding.meta.NamedDefinition dataControlDefinition)
constructor.

Parameters:
dtContext - design time context
dataControl - data control
dataControlDefinition - def object
Method Detail

getAccessorName

public final java.lang.String getAccessorName()
Returns:
Accessor name

configureModelFromView

public final boolean configureModelFromView(org.w3c.dom.Node insertParent)
get the table binding from view.

Specified by:
configureModelFromView in interface oracle.adfdt.view.common.binding.provider.ModelProvider
Overrides:
configureModelFromView in class oracle.adfdt.view.common.binding.provider.ADFBaseProvider
Parameters:
insertParent - the parent node
Returns:
if referent is null

getIteratorName

protected java.lang.String getIteratorName(oracle.binding.meta.NamedDefinition definition,
                                           oracle.adfdt.model.objects.CtrlHier binding)
Modify the binding as necessary, and get the name of the iterator just created. The binding corresponds to the table binding of the table your pattern was dropped into.


getAccessorName

protected java.lang.String getAccessorName(oracle.binding.meta.NamedDefinition definition)

getDisplayName

public java.lang.String getDisplayName()
Gets a display name for the definition representing the accessor for the iterator model.

Returns:
display name.

getCollectionModelExpressionForColumn

public java.lang.String getCollectionModelExpressionForColumn()
provide the expression to access the iterator for Attachments Column. The binding is of t ype "#{bindings[Attachments1]}"

Returns:
the EL for iterator

getControlId

public java.lang.String getControlId()
Returns the id of the iterator binding used for this model.

Returns:
itorator id

getControlBinding

public oracle.adfdt.model.objects.ControlBinding getControlBinding()
Returns the iterator binding used for this model.

Returns:
iterator binding

getDefinition

public oracle.binding.meta.NamedDefinition getDefinition()
Returns the definition representing the accessor for the iterator model.

Returns:
named definition for this collection.

getTableBinding

protected oracle.adfdt.model.objects.CtrlHier getTableBinding()
This method creates the UniqueControl Binding and then creates the nodeDefinition and AttrNames in teh pageDef.


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

E22562-05

Copyright © 2012 Oracle. All Rights Reserved.