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

Bug 316998

Summary: JPA2: Metamodel ManagedTypeImpl should use isMethodAttributeAccessor instead of instanceof
Product: z_Archived Reporter: Michael OBrien <michael.f.obrien>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: NEW --- QA Contact:
Severity: minor    
Priority: P3 CC: eclipselink.orm-inbox
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
URL: http://wiki.eclipse.org/EclipseLink/Development/JPA_2.0/metamodel_api
Whiteboard:
Bug Depends on: 266912    
Bug Blocks:    

Description Michael OBrien CLA 2010-06-15 23:19:32 EDT
>ManagedTypeImpl should avoid instanceof
        if(mapping.getAttributeAccessor() instanceof MethodAttributeAccessor) {
>and be like Attribute where the direct boolean return is used
        if (accessor.isMethodAttributeAccessor()) {
Comment 1 Eclipse Webmaster CLA 2022-06-09 10:24:53 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink