Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 319181 - DBWS: Add "newEntity(String)" method to DynamicEntity
Summary: DBWS: Add "newEntity(String)" method to DynamicEntity
Status: ASSIGNED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-07 14:47 EDT by Mike Norman CLA
Modified: 2022-06-09 10:10 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Norman CLA 2010-07-07 14:47:20 EDT
+++ This bug was initially created as a clone of Bug #300398 +++

Proposal:

Add the following API to DynamicEntity:

  /**
   * @param propertyName the path to a valid object and property.
   * @return the a new instance of the specified property.
   */
  DynamicEntity newEntity(String propertyName);

Rationale:

Allow users 'fluid' access to navigating thru their (dynamic) object model:

  DynamicEntity de = emp.newEntity("address").set("street", "20 Pinetrail Cres.");
Comment 1 Eclipse Webmaster CLA 2022-06-09 10:10:53 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink