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 2019/01/16 14:27:00 UTC
[jira] [Closed] (CAY-2511) Contribute custom properties for
attributes
[ https://issues.apache.org/jira/browse/CAY-2511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nikita Timofeev closed CAY-2511.
--------------------------------
Resolution: Fixed
Assignee: Nikita Timofeev
> 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
> Assignee: Nikita Timofeev
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.2.M1
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Allow to add custom properties for attributes and generate classes with this custom properties.
> * First you need to create custom property.
> * Create PropertyDescriptorCreator
> * Contribute descriptor creator to CgenModule:Â CgenModule.contributeUserProperties(binder).add(CustomPropertyDescriptorCreator.class);
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)