Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 319181

Summary: DBWS: Add "newEntity(String)" method to DynamicEntity
Product: z_Archived Reporter: Mike Norman <michael.norman>
Component: EclipselinkAssignee: Project Inbox <eclipselink.dbws-inbox>
Status: ASSIGNED --- QA Contact:
Severity: normal    
Priority: P3 CC: blaise.doughan, david.mccann, eclipselink.dbws-inbox
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

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