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)
  • groovy
  • GROOVY-53

Support cardinality syntax (*, !, +, ?) like UML, DTDs or Xen

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Wish Wish
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.0-JSR-2
  • Component/s: None
  • Labels:
    None

Description

Allow types to have a cardinality suffix...

Address* zeroOrMore
Address? optional
Address+ oneOrMore
Address! mandatory

Issue Links

is depended upon by

Task - A task that needs to be done. GROOVY-762 implement syntax improvements

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
james strachan added a comment - 17/Nov/03 12:31 AM

http://wiki.codehaus.org/groovy/SupportForXsdOrSqlSchemas

Show
james strachan added a comment - 17/Nov/03 12:31 AM http://wiki.codehaus.org/groovy/SupportForXsdOrSqlSchemas
Hide
Permalink
james strachan added a comment - 15/Jun/05 8:28 AM

We now have the main value of these operators via the overloaded dot.

def foo = null
def x = foo?.bar
assert x == null

def y = ["a", "bb"]
def z = y*.length()
assert z == [1, 2]

Show
james strachan added a comment - 15/Jun/05 8:28 AM We now have the main value of these operators via the overloaded dot. def foo = null def x = foo?.bar assert x == null def y = ["a", "bb"] def z = y*.length() assert z == [1, 2]

People

  • Assignee:
    Unassigned
    Reporter:
    james strachan
Vote (0)
Watch (0)

Dates

  • Created:
    16/Nov/03 6:24 PM
    Updated:
    10/Oct/07 6:20 AM
    Resolved:
    15/Jun/05 8:28 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.