|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.0) E10653-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.adfinternal.model.adapter.bean.BeanStructureDefinitionBuilder
public class BeanStructureDefinitionBuilder
Bean structure definition builder
This class generates structures according to the JSR 227 specification from a bean class.
Data controls that deals with JavaBean data can use this class to generate data and structure.
Constructor Summary | |
---|---|
BeanStructureDefinitionBuilder()
|
|
BeanStructureDefinitionBuilder(java.lang.String beanClass,
boolean recursive)
|
Method Summary | |
---|---|
protected void |
addReadOnlyCollectionOperations(AccessorDef accessorDef)
Adds read-only ADF Collection operations to an AccessorDefinition. |
protected void |
addReadOnlyCollectionOperations(MethodReturnDef returnDef)
Adds read-only ADF Collection operations to an MethodDefinition's return definition. |
protected void |
addSingleValueReadOnlyOperations(AccessorDef accessorDef)
Adds create and remove operations to a non-Collection type AccessorDef. |
protected void |
addSingleValueReadOnlyOperations(MethodReturnDef returnDef)
Adds create and remove operations to a non-Collection type AccessorDef. |
protected void |
addSingleValueUpdateableOperations(AccessorDef accessorDef)
Adds create and remove operations to a non-Collection type AccessorDef. |
protected void |
addTransactionalOperations(StructureDef rootDCDef)
Adds default ADF Transactional operations to data control's StructureDefinition. |
protected void |
addUpdateableCollectionOperations(AccessorDef accessorDef)
Adds editable ADF Collection operations to an AccessorDefinition. |
protected void |
addUpdateableCollectionOperations(MethodReturnDef returnDef)
Adds editable ADF Collection operations to an MethodDefinition's return definition. |
static StructureDefinition |
buildRecursiveStructureDefinition(java.lang.String beanClass)
|
StructureDefinition |
buildStructure()
Builder structureDef |
StructureDefinition |
buildStructure(java.lang.String beanClass)
Builder structureDef from beanClass |
StructureDefinition |
buildStructure(StructureDef dcDef,
java.lang.String beanClass)
Add to dcDef |
static StructureDefinition |
buildStructureDefinition(java.lang.String beanClass)
Builds the StructureDef that describes the structure of this data control. |
boolean |
generateCollectionOperations()
|
java.lang.String |
getBeanClass()
|
protected java.util.Set |
getIgnoredClasses()
Set of classes which should not be traversed during method lookup. |
StructureDefinition |
getStructure(java.lang.String beanClass)
|
void |
setBeanClass(java.lang.String beanClass)
|
void |
setGenerateCollectionOperations(boolean bSet)
|
protected void |
setIgnoredClass(java.lang.String className)
Set ignore this className |
void |
setRecursive(boolean recursive)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BeanStructureDefinitionBuilder()
public BeanStructureDefinitionBuilder(java.lang.String beanClass, boolean recursive)
Method Detail |
---|
public static StructureDefinition buildStructureDefinition(java.lang.String beanClass)
public static StructureDefinition buildRecursiveStructureDefinition(java.lang.String beanClass)
public void setBeanClass(java.lang.String beanClass)
public java.lang.String getBeanClass()
public void setRecursive(boolean recursive)
public void setGenerateCollectionOperations(boolean bSet)
public boolean generateCollectionOperations()
protected void addUpdateableCollectionOperations(AccessorDef accessorDef)
protected void addReadOnlyCollectionOperations(AccessorDef accessorDef)
protected void addUpdateableCollectionOperations(MethodReturnDef returnDef)
protected void addReadOnlyCollectionOperations(MethodReturnDef returnDef)
protected void addSingleValueUpdateableOperations(AccessorDef accessorDef)
protected void addSingleValueReadOnlyOperations(AccessorDef accessorDef)
protected void addSingleValueReadOnlyOperations(MethodReturnDef returnDef)
protected void addTransactionalOperations(StructureDef rootDCDef)
protected void setIgnoredClass(java.lang.String className)
className
- public StructureDefinition buildStructure()
public StructureDefinition buildStructure(java.lang.String beanClass)
beanClass
-
public StructureDefinition buildStructure(StructureDef dcDef, java.lang.String beanClass)
dcDef
- beanClass
-
public StructureDefinition getStructure(java.lang.String beanClass)
protected java.util.Set getIgnoredClasses()
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.0) E10653-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |