You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Arseni Bulatski (JIRA)" <ji...@apache.org> on 2019/01/14 10:25:00 UTC

[jira] [Updated] (CAY-2511) Contribute custom properties for attributes

     [ https://issues.apache.org/jira/browse/CAY-2511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arseni Bulatski updated CAY-2511:
---------------------------------
    Summary: Contribute custom properties for attributes  (was: Generate custom properties for attributes)

> Contribute custom properties for attributes
> -------------------------------------------
>
>                 Key: CAY-2511
>                 URL: https://issues.apache.org/jira/browse/CAY-2511
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: Core Library
>    Affects Versions: 4.2.M1
>            Reporter: Arseni Bulatski
>            Priority: Major
>             Fix For: 4.2.M1
>
>
> Allow to add custom properties and generate classes with this custom properties for attributes.
>  * First you need to create custom property.
>  * Create PropertyDescriptorCreator
>  * Create module to contribute your property like this: CgenModule.contributeUserProperties(binder).add(CustomPropertyDescriptorCreator.class);



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)