Skip navigation links
oracle.adfinternal.model.adapter.toplink
Class TopLinkDefinition
java.lang.Object
oracle.adf.model.adapter.AbstractDefinition
oracle.adf.model.adapter.bean.BeanAbstractDefinition
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
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 |
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.AbstractDefinition |
createDuplicateDetailIterator, getAdapterContext, getCachingMode, getDefClassName, getDefinitionParent, getDefinitionType, getFactoryClassName, getFullName, getName, getParameters, getProperties, getProperty, setAdapterContext, setCompileProjectOnCreate, setName, setProperty, shouldCompileProjectOnCreate, shouldStoreStructureDefinition |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TopLinkDefinition
public TopLinkDefinition()
- Zero arg constructor required by the framework.
TopLinkDefinition
public TopLinkDefinition(DataControlStructure definition)
- Constructor used by the BeanAbstractAdapter.
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
Skip navigation links
Copyright © 1997, 2009, Oracle. All rights reserved.