| Summary: | Require annotation support for ClassExtractionMethod | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | David McCann <david.mccann> |
| Component: | Eclipselink | Assignee: | Project Inbox <eclipselink.foundation-inbox> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | douglas.clarke, karenfbutzke |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 321256 | ||
Not sure if Doug still feels this way, but this was the decision made when supporting ClassExtractor: https://bugs.eclipse.org/bugs/show_bug.cgi?id=211323#c3 The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |
We currently have annotation support for ClassExtractor, but not ClassExtractionMethod. We will want this support in MOXy (annotation & xml metadata) and should (presumably) have it in foundation as well. A class extraction method can be set on the InheritancePolicy via this method: public void setClassExtractionMethodName(String) 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(); }