You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Nikita Timofeev (JIRA)" <ji...@apache.org> on 2018/08/29 09:28:00 UTC
[jira] [Created] (CAY-2467) New type-aware Property API
Nikita Timofeev created CAY-2467:
------------------------------------
Summary: New type-aware Property API
Key: CAY-2467
URL: https://issues.apache.org/jira/browse/CAY-2467
Project: Cayenne
Issue Type: Task
Components: Core Library
Reporter: Nikita Timofeev
Assignee: Nikita Timofeev
Fix For: 4.2.M1
Current {{o.a.c.exp.Property}} API is really useful, but it mixes up everything in one huge class.
It is hard to extend and it allows to make expressions that doesn't make any sense (like {{Artist.ARTIST_NAME.mod(5)}}).
So we can use our knowledge of property types in {{cgen}} and provide type-specific variants
(like Numeric, String, Relationship etc.)
This will nicely fix mentioned issues and CAY-2332
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)