Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 342484 - Add API to returns the type of a DatabaseMapping
Summary: Add API to returns the type of a DatabaseMapping
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-11 14:09 EDT by Pascal Filion CLA
Modified: 2022-06-09 10:27 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Filion CLA 2011-04-11 14:09:34 EDT
I would like to know the type of the property or method represented by a DatabaseMapping but there is not DatabaseMapping.getType() : Class<?>. And also to know the generic type with DatabaseMapping.getGenericType() : Type. In order to know the type of most mappings, I have to check many things (aggregate, container policy, attribute accessor, method accessor). I think that behavior should be encapsulated in each mapping.
Comment 1 Eclipse Webmaster CLA 2022-06-09 10:17:10 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink
Comment 2 Eclipse Webmaster CLA 2022-06-09 10:27:36 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink