@@ -0,0 +1,1066 @@
+package org.eclipse.persistence.testing.models.jpa.xml.advanced;%0D%0A%0D%0A/**%0D%0A * This class is used to test the extended orm named-access setting.%0D%0A * %0D%0A * It is mapped as a mapped superclass in the following resource file:%0D%0A * %0D%0A *  resource/eclipselinkorm/eclipselink-xml-extended-model/eclipselink-orm.xml%0D%0A *  %0D%0A * @author gpelleti%0D%0A */%0D%0Apublic class ShovelPerson %7B%0D%0A    // id%0D%0A    private Integer id;%0D%0A    %0D%0A    // basic%0D%0A    private String name;%0D%0A%0D%0A    public Object get(String attribute) %7B%0D%0A        try %7B%0D%0A            return ShovelPerson.class.getDeclaredField(attribute).get(this);%0D%0A        %7D catch (Exception e) %7B%0D%0A            throw new RuntimeException(%22Error occured getting the value of attributee: %22 + attribute);%0D%0A        %7D%0D%0A    %7D%0D%0A    %0D%0A    public void set(String attribute, Object value) %7B%0D%0A        try %7B%0D%0A            ShovelPerson.class.getDeclaredField(attribute).set(this, value);%0D%0A        %7D catch (Exception e) %7B%0D%0A            throw new RuntimeException(%22Error occured set the attribute: %22 + attribute + %22, with value: %22 + value);%0D%0A        %7D%0D%0A    %7D%0D%0A%7D%0D%0A

Fix for bug 267217 - Add defaults for access methods of a VIRTUAL access type