Beruflich Dokumente
Kultur Dokumente
Groovy
Is a Java-like scripting language that is dynamically
compiled and evaluated at run time
Enables you to use declarative expressions, instead of
writing Java code, for the following types of values in the
ADF BC data model:
Bind variables
Calculated attributes
Attribute default values
View criteria
View accessor bind variables
Validation
Validation message token binding
7-3 Copyright 2008, Oracle. All rights reserved.
Using Groovy Syntax in ADF
Property Inspector
Entity Object Editor
2 3
3 4
Setting recalculation
dependencies
Modified
query
Reordering attributes
Add a WHERE
clause:
Edit the
1
view object.
Add a
Edit the SQL 3 parameterized
2 WHERE clause.
query.
1 3
2 4
LOVs:
Are defined on view object attributes
Use view accessors as a data source:
For attributes mapped to an entity object attribute:
Use the view accessor that is used by the entity object
attributes Key Exists validator.
Extend the view accessor at the view object level for UI hints or
bind expressions if required.
For transient attributes, you can define a new view accessor.
1 3
2 4