public class BeanDefinition extends AbstractBeanDefinition
| Modifier and Type | Field and Description |
|---|---|
protected oracle.adf.share.logging.ADFLogger |
_logger |
static java.lang.String |
BEAN_CLASS
Java bean specifics
|
static java.lang.String |
BEAN_DEFINITION |
static java.lang.String |
BEAN_DEFINITION_URI |
static java.lang.String |
BEAN_PROVIDER
bean DataControlStructureProvider identifier
|
static java.lang.String |
BEAN_XMLNS |
static java.lang.String |
DataFilterHandlerName
DataFilter handler class
|
static java.lang.String |
JPQLDataControlHandlerName
JPA DataFilter handler class
|
static java.lang.String |
LOGGER |
ACCESS_MODE, DATA_CONTROL_HANDLER, EAGER_PERSIST, metaData, parameters, RANGE_PAGING, SCROLLABLECACHE_TO_SOURCEPATH, DONT_CACHE, mDCConfiguration, mFullName, mName, mRootDefNameTYPE_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 and Description |
|---|
BeanDefinition()
Zero arg constructor required by the framework.
|
BeanDefinition(DataControlStructure definition)
Constructor used by the BeanAbstractAdapter.
|
| Modifier and Type | Method and Description |
|---|---|
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 corresponding adapter type, if any.
|
int |
getCachingMode() |
BeanDCConfiguration |
getConfiguration()
Returns the dcx configuration for the data control.
|
java.lang.String |
getFullName()
Returns the full name of this Definition, which includes the name of any parent
objects.
|
protected java.lang.String |
getProviderType()
Returns the dc structure provider type for this BeanAbstractDefinition.
|
protected void |
initDefinition()
Option to override rt bean-definition
|
boolean |
isSupported(java.lang.String operation)
Indicates if the adapter support updates, sort, transaction or criteria
|
boolean |
shouldCompileProjectOnCreate()
Indicates if the project needs to be compiled when a data control is
created from this definition.
|
boolean |
usePersistedStructure()
Indicates whether the definition delegates to the framework the task of
deserializing its StructureDefinition (for example, from bean .xml
files on disk).
|
getBeanDCHandler, getDCName, getFactoryClassName, getMetadata, getNodeValue, getRuntimeMetaData, getRuntimeParameters, getStructure, isStructureDirty, loadFromMetadata, setPropertyaddParameter, createDuplicateDetailIterator, disableSharing, enableSharing, getAdapterContext, getConfigurationFullName, getDefClassName, getDefinitionParent, getDefinitionType, getJUDTDataControlName, getName, getParameter, getParameterCollection, getParameters, getProperties, getProperty, getRootStructureName, removeParameter, setAdapterContext, setCachingMode, setCompileProjectOnCreate, setConfigurationFullName, setFullName, setName, setProperty, setRootStructureName, useDefinitionProviderpublic static final java.lang.String BEAN_DEFINITION
public static final java.lang.String BEAN_XMLNS
public static final java.lang.String BEAN_DEFINITION_URI
public static final java.lang.String BEAN_CLASS
public static final java.lang.String BEAN_PROVIDER
public static final java.lang.String DataFilterHandlerName
public static final java.lang.String JPQLDataControlHandlerName
public static final java.lang.String LOGGER
protected oracle.adf.share.logging.ADFLogger _logger
public BeanDefinition()
public BeanDefinition(DataControlStructure definition)
public DataControl createDataControl()
createDataControl in class AbstractDefinitionprotected java.lang.String getProviderType()
getProviderType in class AbstractBeanDefinitionpublic java.lang.String getFullName()
NamedDefinitiongetFullName in interface NamedDefinitiongetFullName in class AbstractDefinitionpublic java.lang.String getAdapterType()
AbstractDefinitiongetAdapterType in class AbstractDefinitionAdapterDefinitionpublic boolean assignDefaultPackage()
AbstractDefinitionassignDefaultPackage in class AbstractDefinitionpublic int getCachingMode()
getCachingMode in class AbstractDefinitionpublic boolean usePersistedStructure()
AbstractBeanDefinitionusePersistedStructure in class AbstractBeanDefinitionpublic boolean shouldCompileProjectOnCreate()
AbstractDefinition
Note:
If the data control create is invoked from within a UI operation (e.g. you
are invoking creation of data control while responding to a property change
action of the data control metadata), this method must return false.
A data control can be created by calling the method
createDataControl on class MetaDef.
shouldCompileProjectOnCreate in class AbstractDefinitionpublic boolean isSupported(java.lang.String operation)
isSupported in class AbstractBeanDefinitionoperation - one of the values defined in
DataControlDefinition.public BeanDCConfiguration getConfiguration()
getConfiguration in class AbstractDefinitionBeanDCConfiguraiton that defines the metadata
for this DC instance.protected void initDefinition()
AbstractBeanDefinitioninitDefinition in class AbstractBeanDefinition