Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.7.0)

E10653-08

oracle.adfinternal.model.adapter.toplink
Class TopLinkDefinition

java.lang.Object
  extended by oracle.adf.model.adapter.AbstractDefinition
      extended by oracle.adf.model.adapter.bean.BeanAbstractDefinition
          extended by oracle.adfinternal.model.adapter.toplink.TopLinkDefinition
All Implemented Interfaces:
DataControlDefinition, Definition, NamedDefinition

public class TopLinkDefinition
extends BeanAbstractDefinition

Defines the AbstractDefinition for TopLink data controls. Extends the BeanAbstractDefinition implementation to handle AbstractDefinition meta data delegation.

See Also:
BeanAbstractDefinition, DataControlStructure, BeanAbstractAdapter, oracle.adfdtinternal.model.adapter.toplink.TopLinkDataControlProvider

Field Summary
 
Fields inherited from class oracle.adf.model.adapter.bean.BeanAbstractDefinition
ACCESS_MODE, DATA_CONTROL_HANDLER, metaData, parameters, RANGE_PAGING, SCROLLABLE
 
Fields inherited from class oracle.adf.model.adapter.AbstractDefinition
CACHE_TO_CLASSPATH, CACHE_TO_SOURCEPATH, DONT_CACHE, mFullName
 
Fields inherited from interface oracle.binding.meta.Definition
TYPE_ACCESSOR, TYPE_ATTRIBUTE, TYPE_CRITERIA, TYPE_CRITERIA_ITEM, TYPE_CRITERIA_OPERATOR, TYPE_CRITERIA_ROW, TYPE_DATACONTROL, TYPE_DEFINITION, TYPE_DEFINITIONCONTEXT, TYPE_NAMED, TYPE_OPERATION, TYPE_OPERATIONRETURN, TYPE_PARAMETER, TYPE_STRUCTURE, TYPE_VARIABLE
 
Constructor Summary
TopLinkDefinition()
          Zero arg constructor required by the framework.
TopLinkDefinition(DataControlStructure definition)
          Constructor used by the BeanAbstractAdapter.
 
Method Summary
 boolean assignDefaultPackage()
          Data controls which do not already have their own package structure need to use a default package.
 DataControl createDataControl()
          Creates data control at runtime.
 java.lang.String getAdapterType()
          Returns the name of the TopLinkAdapter class as the adapter type.
protected  java.lang.String getProviderType()
          Returns the dc structure provider type for this BeanAbstractDefinition.
 boolean isSupported(java.lang.String operation)
          Indicates if the adapter support things like sorting, transaction etc.
 
Methods inherited from class oracle.adf.model.adapter.bean.BeanAbstractDefinition
getDCName, getFactoryClassName, getMetadata, getRuntimeMetaData, getRuntimeParameters, getStructure, initDefinition, isStructureDirty, loadFromMetadata, usePersistedStructure
 
Methods inherited from class oracle.adf.model.adapter.AbstractDefinition
createDuplicateDetailIterator, getAdapterContext, getCachingMode, getConfigurationFullName, getDefClassName, getDefinitionParent, getDefinitionType, getFullName, getName, getParameters, getProperties, getProperty, setAdapterContext, setCachingMode, setCompileProjectOnCreate, setConfigurationFullName, setFullName, setName, setProperty, shouldCompileProjectOnCreate, shouldStoreStructureDefinition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TopLinkDefinition

public TopLinkDefinition()
Zero arg constructor required by the framework.


TopLinkDefinition

public TopLinkDefinition(DataControlStructure definition)
Constructor used by the BeanAbstractAdapter.

Method Detail

createDataControl

public DataControl createDataControl()
Creates data control at runtime.

Specified by:
createDataControl in class AbstractDefinition
Returns:
the data control instance.

getProviderType

protected java.lang.String getProviderType()
Returns the dc structure provider type for this BeanAbstractDefinition.

Specified by:
getProviderType in class BeanAbstractDefinition

isSupported

public boolean isSupported(java.lang.String operation)
Description copied from class: AbstractDefinition
Indicates if the adapter support things like sorting, transaction etc. Adapter data control definition should overwrite this method to provide the info specific to the data control instance.

Overrides:
isSupported in class AbstractDefinition
Parameters:
operation - one of the values defined in DataControlDefinition.
Returns:
boolean true if supported. The default implementation returns "false" for all flags.

assignDefaultPackage

public boolean assignDefaultPackage()
Description copied from class: AbstractDefinition
Data controls which do not already have their own package structure need to use a default package. Bean-based data controls, or others whose names embed their package structure, should override this to return false.

Overrides:
assignDefaultPackage in class AbstractDefinition
Returns:
false to indicate that TopLink data controls maintain their own package info in the structure defs they create.

getAdapterType

public java.lang.String getAdapterType()
Returns the name of the TopLinkAdapter class as the adapter type.

Overrides:
getAdapterType in class AbstractDefinition
Returns:
name of the corresponding adapter that matches this definition. If there is no adapter defined for this type, the method returns null. The default implementation returns null.
See Also:
AdapterDefinition

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.7.0)

E10653-08

Copyright © 1997, 2013, Oracle. All rights reserved.