Chapter 2. Dealing with Basics: Entity Objects

In this chapter, we will cover:

  • Using a custom property to populate a sequence attribute
  • Overriding doDML() to populate an attribute with a gapless sequence
  • Creating and applying property sets
  • Using getPostedAttribute() to determine the posted attribute's value
  • Overriding remove() to delete associated child entities
  • Overriding remove() to delete a parent entity in an association
  • Using a method validator based on a view object accessor
  • Using Groovy expressions to resolve validation error message tokens
  • Using doDML() to enforce a detail record for a new master record

Introduction

Entity objects are the basic building blocks in the chain of business components. They represent a single ...

Get Oracle JDeveloper 11gR2 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.