Community
Participate
Working Groups
We currently have XML metadata support (and will have annotation support) for ClassExtractor, but not ClassExtractionMethod. A class extraction method can be set on the InheritancePolicy via this method: public void setClassExtractionMethodName(String) The XML metadata could look something like this: <java-type name="org.example.Person"> <xml-class-extraction-method name="getClassForRow" /> </java-type> And the annotation could look something like the following: @Target({TYPE}) @Retention(RUNTIME) public @interface ClassExtractionMethod { /** * (Required) Defines the name of the class extraction method * that should be applied to this entity's descriptor. */ String value(); }
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink