|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.6.0) E10653-07 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.adf.model.adapter.AbstractDefinition oracle.adf.model.adapter.bean.BeanAbstractDefinition oracle.adfinternal.model.adapter.bean.BeanAnnotationAbstractDefinition oracle.adf.model.adapter.bean.BeanDefinition
public class BeanDefinition
Field Summary | |
---|---|
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 |
DataControlHandlerName
DataControlHandler class |
static java.lang.String |
JPQLDataControlHandlerName
JPA Data handler class |
static java.lang.String |
LOGGER
|
Fields inherited from class oracle.adf.model.adapter.bean.BeanAbstractDefinition |
---|
DATA_CONTROL_HANDLER, metaData, parameters |
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 | |
---|---|
BeanDefinition()
Zero arg constructor required by the framework. |
|
BeanDefinition(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 corresponding adapter type, if any. |
int |
getCachingMode()
|
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()
Implementor to provide the 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). |
Methods inherited from class oracle.adfinternal.model.adapter.bean.BeanAnnotationAbstractDefinition |
---|
isSupportsAnnotationMetadata, setSupportAnnotation |
Methods inherited from class oracle.adf.model.adapter.bean.BeanAbstractDefinition |
---|
getDCName, getMetadata, getRuntimeMetaData, getRuntimeParameters, getStructure, isStructureDirty, loadFromMetadata |
Methods inherited from class oracle.adf.model.adapter.AbstractDefinition |
---|
createDuplicateDetailIterator, getAdapterContext, getConfigurationFullName, getDefClassName, getDefinitionParent, getDefinitionType, getFactoryClassName, getName, getParameters, getProperties, getProperty, setAdapterContext, setCachingMode, setCompileProjectOnCreate, setConfigurationFullName, setFullName, setName, setProperty, shouldStoreStructureDefinition |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public 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 DataControlHandlerName
public static final java.lang.String JPQLDataControlHandlerName
public static final java.lang.String BEAN_PROVIDER
public static final java.lang.String LOGGER
Constructor Detail |
---|
public BeanDefinition()
public BeanDefinition(DataControlStructure definition)
Method Detail |
---|
public DataControl createDataControl()
createDataControl
in class AbstractDefinition
protected java.lang.String getProviderType()
getProviderType
in class BeanAbstractDefinition
public java.lang.String getFullName()
NamedDefinition
getFullName
in interface NamedDefinition
getFullName
in class AbstractDefinition
public java.lang.String getAdapterType()
AbstractDefinition
getAdapterType
in class AbstractDefinition
AdapterDefinition
public boolean assignDefaultPackage()
AbstractDefinition
assignDefaultPackage
in class AbstractDefinition
public int getCachingMode()
getCachingMode
in class AbstractDefinition
public boolean usePersistedStructure()
BeanAbstractDefinition
usePersistedStructure
in class BeanAbstractDefinition
public 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 AbstractDefinition
public boolean isSupported(java.lang.String operation)
isSupported
in class BeanAnnotationAbstractDefinition
operation
- one of the values defined in
DataControlDefinition
.
protected void initDefinition()
BeanAbstractDefinition
initDefinition
in class BeanAbstractDefinition
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.6.0) E10653-07 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |