jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Mod4j: Modeling for Java using Domain Specific Languages
  • MODFORJ-27

Generate getBy() services for the known unique fields declared in the businessdomain

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: New Feature New Feature
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: Wish List
  • Component/s: DSL for Services
  • Labels:
    None

Description

In the business domain you can model unique fields for a Business Domain class.
In the service model this information can be used to declare getBy services.
Via codecompletion the available names of the unique rules ("unique" keyword) should be presented to the developer.

So...
Class Person [
...
Rules [
"The combination of first- and last name of a person must be unique"
unique fullName [firstName lastName]
]
]
should result in a service method like this:
public Person getByFullName(String firstName, String lastName);

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Jos Warmer added a comment - 19/Feb/09 8:39 AM

Although not as nice, the new search by example functionality allows searching on unique field as well.

Show
Jos Warmer added a comment - 19/Feb/09 8:39 AM Although not as nice, the new search by example functionality allows searching on unique field as well.

People

  • Assignee:
    Unassigned
    Reporter:
    Jos Warmer
Vote (0)
Watch (0)

Dates

  • Created:
    19/Feb/09 8:38 AM
    Updated:
    19/Feb/09 8:39 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.