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)
Signup
Mod4j: Modeling for Java using Domain Specific Languages
  • Mod4j: Modeling for Java using Domain Specific Languages
  • MODFORJ-230

Constructor conflict

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Cannot Reproduce
  • Affects Version/s: 1.3.0
  • Fix Version/s: None
  • Component/s: DSL for Business Domain
  • Labels:
    None
  • Number of attachments :
    0

Description

The id constructor conflicts with the constructor for any classes that have exactly one required attribute of the same datatype of the identifier. For example for the this class:

class Conflicting [
string one nullable;
integer two;
datetime three nullable;
]

the following conflicting constructors will be generated:

public InkomensToetsResultaat(Long two)

{ super(two); }

protected InkomensToetsResultaat(Long id)

{ super(id); }

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Johan Vogelzang made changes - 22/Jul/11 2:39 AM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Cannot Reproduce [ 5 ]

People

  • Assignee:
    Unassigned
    Reporter:
    Johan Vogelzang
Vote (0)
Watch (0)

Dates

  • Created:
    06/Jun/11 1:06 AM
    Updated:
    22/Jul/11 2:39 AM
    Resolved:
    22/Jul/11 2:39 AM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.