ID
Name
Status
CustomerStatusRO
View objects:
Represent a query
Are used for joining, filtering, projecting, and sorting
business data
Enable you to have a view of data that is specific to one
part of your application
Can be constructed from a SQL statement, static values,
or populated programmatically
Can also be based on any number of entity objects
View Reusable
Query Components
objects
PriorityOrderVO ItemListVO
Provide
2 connection
details.
Double-click the
3 view object
instance.
Entity objects:
Represent a row in a database table or other data source
Handle database caching
Contain attributes representing the database columns
Encapsulate attribute-level and entity-level validation logic
Can contain custom business methods
CustomerEO OrderEO
Entity
object CustomerEO
Id
Name
Attributes
Status Status List Validation
Email (Gold Silver Platinum) rule
CUSTOMERS
Database
ID NAME STATUS Email
table
201 Steve Gold msmith@company.com
202 Mike Silver dgonzales@company.com
Name page
Name page
Attributes page
Select
Select
(12*monthly_sal)
EO VO
Commit Update
Join is based on
association
between
entities.
1 2