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

Bug 322018

Summary: JPA2: Encapsulation: Reduce scope of Metamodel attributes that are protected to private where applicable
Product: z_Archived Reporter: Michael OBrien <michael.f.obrien>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
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_ap
Whiteboard:
Bug Depends on: 266912    
Bug Blocks:    
Attachments:
Description Flags
Metamodel API: reduce protected to private encapsulation none

Description Michael OBrien CLA 2010-08-06 13:27:00 EDT
>We need to reduce the scope of instance variables that are protected to private to enforce encapsulation
Comment 1 Michael OBrien CLA 2010-08-06 14:06:05 EDT
Created attachment 176058 [details]
Metamodel API: reduce protected to private encapsulation
Comment 2 Michael OBrien CLA 2010-08-06 16:50:31 EDT
>Note: Since BasicTypes are lazy - loaded into the metamodel-types Map any test that does not load but counts Types will see a different Map
The map will not contain the BasicType until it is referenced.
>Therefore if you are testing Metamodel tests using the internal Testing Browser for a single test
- you will get different results than if you run all tests via ant
Comment 3 Michael OBrien CLA 2010-08-09 11:44:56 EDT
>see SVN rev# 8006
http://fisheye2.atlassian.com/changelog/eclipselink/?cs=8006
bug 322018: Encapsulation - reduce scope of remaining protected Metamodel instance variables to private
https://bugs.eclipse.org/bugs/attachment.cgi?id=176058&action=diff
bug 322033: Metamodel transient superclass as BasicType testing for non-inheritance of attributes
https://bugs.eclipse.org/bugs/attachment.cgi?id=176162&action=diff
<testsuite errors="0" failures="0" hostname="xps435" name="org.eclipse.persistence.testing.tests.jpa.AllCMP3TestRunModel" tests="2235" time="1200.919" timestamp="2010-08-09T15:09:20">
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:27:13 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink