| Summary: | Add ability to disable addTo....() and get...() returning unmodifiable | ||
|---|---|---|---|
| Product: | [Modeling] EMFT | Reporter: | Mike Cooper <mcooper> |
| Component: | Texo | Assignee: | Martin Taal <mtaal> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | ||
| Version: | Future | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Mike Cooper
This can be done through an annotation, as a default it should not do what you get currently. See this page for more information: http://wiki.eclipse.org/Texo/Code_Generation_Patterns#Generation_of_a_safe_bi-directional_association_API_.28or_not.29 gr. Martin Thanks for the pointer. I hadn't noticed that. It doesn't seem to be working for me, though. If I set "Generate Bidirectional Association Support" to "false" and "Generate Safe Many Access" to "false", delete the generated code, and generate new model code I get the same classes which still return unmodifiableList and have addTo... and remove... methods. I've confirmed I've saved my annotationsmodel file. Hi Mike, An older issue, are you still encountering this? gr. Martin I don't think this problem is still occurring. mike Not reproducable anymore |