Allowing programatical modification of sorting in criteria searches -------------------------------------------------------------------
Key: SPRING-118 URL: http://jira.andromda.org/browse/SPRING-118 Project: Spring Cartridge Type: Improvement Reporter: Wojciech Ciesielski Assigned to: Chad Brandon Wouldn't it be great id AndroMDA would add 3 attributes to every (or seleted in model by some new tag @manually.sortable or something) Criteria attribute: Boolean : sortable = null; Integer : sortOrder = null; Integer : sortRelevalence = null; with relevant getters/setters... Then modify SomeEntity.searchByCriteria() method generator in such a way that it would test sortable attribute for null and use UML settings in case it's null/false. Or even better - those attributes in Criteria should be set in default constructor to values corresponding to UML model but with getters/setters to modify it... ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php