FAQ
Primitives in ROP support
-------------------------

Key: CAY-1113
URL: https://issues.apache.org/cayenne/browse/CAY-1113
Project: Cayenne
Issue Type: Task
Components: Cayenne Core Library
Affects Versions: 3.0
Reporter: Andrus Adamchik
Assignee: Andrus Adamchik
Fix For: 3.0


We have primitives support for the server-side DataObjects. No reason not to have them on the ROP client. Things that need to be done:

1. Update client templates to handle primitives. This should be easier then the server templates, as client objects are using real ivars for attributes. AFAIK the only addition is special syntax for boolean property getter.

2. Write a few unit tests that show that ROP works ok with primitive attributes.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Search Discussions

  • Anonymous at Nov 6, 2008 at 3:28 pm
    [ https://issues.apache.org/cayenne/browse/CAY-1113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Loiko Dima updated CAY-1113:
    ----------------------------

    Attachment: Client.txt
    Primitives in ROP support
    -------------------------

    Key: CAY-1113
    URL: https://issues.apache.org/cayenne/browse/CAY-1113
    Project: Cayenne
    Issue Type: Task
    Components: Cayenne Core Library
    Affects Versions: 3.0
    Reporter: Andrus Adamchik
    Assignee: Andrus Adamchik
    Fix For: 3.0

    Attachments: Client.txt


    We have primitives support for the server-side DataObjects. No reason not to have them on the ROP client. Things that need to be done:
    1. Update client templates to handle primitives. This should be easier then the server templates, as client objects are using real ivars for attributes. AFAIK the only addition is special syntax for boolean property getter.
    2. Write a few unit tests that show that ROP works ok with primitive attributes.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Anonymous at Nov 6, 2008 at 4:28 pm
    [ https://issues.apache.org/cayenne/browse/CAY-1113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Loiko Dima updated CAY-1113:
    ----------------------------

    Attachment: Client_1.txt
    Primitives in ROP support
    -------------------------

    Key: CAY-1113
    URL: https://issues.apache.org/cayenne/browse/CAY-1113
    Project: Cayenne
    Issue Type: Task
    Components: Cayenne Core Library
    Affects Versions: 3.0
    Reporter: Andrus Adamchik
    Assignee: Andrus Adamchik
    Fix For: 3.0

    Attachments: Client.txt, Client_1.txt


    We have primitives support for the server-side DataObjects. No reason not to have them on the ROP client. Things that need to be done:
    1. Update client templates to handle primitives. This should be easier then the server templates, as client objects are using real ivars for attributes. AFAIK the only addition is special syntax for boolean property getter.
    2. Write a few unit tests that show that ROP works ok with primitive attributes.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Anonymous at Nov 8, 2008 at 6:41 pm
    [ https://issues.apache.org/cayenne/browse/CAY-1113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Andrus Adamchik closed CAY-1113.
    --------------------------------

    Resolution: Fixed
    Fix Version/s: (was: 3.0)
    3.0M5

    The last patch applied. Primitives work under ROP and now boolean method signatures look like Java.
    Primitives in ROP support
    -------------------------

    Key: CAY-1113
    URL: https://issues.apache.org/cayenne/browse/CAY-1113
    Project: Cayenne
    Issue Type: Task
    Components: Cayenne Core Library
    Affects Versions: 3.0
    Reporter: Andrus Adamchik
    Assignee: Andrus Adamchik
    Fix For: 3.0M5

    Attachments: Client.txt, Client_1.txt


    We have primitives support for the server-side DataObjects. No reason not to have them on the ROP client. Things that need to be done:
    1. Update client templates to handle primitives. This should be easier then the server templates, as client objects are using real ivars for attributes. AFAIK the only addition is special syntax for boolean property getter.
    2. Write a few unit tests that show that ROP works ok with primitive attributes.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdev @
categoriescayenne
postedSep 30, '08 at 6:59p
activeNov 8, '08 at 6:41p
posts4
users1
websitecayenne.apache.org

1 user in discussion

Anonymous: 4 posts

People

Translate

site design / logo © 2022 Grokbase