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:21:00 UTC

[jira] [Created] (CAY-2511) Generate custom properties for attributes

Arseni Bulatski created CAY-2511:
------------------------------------

             Summary: Generate 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
             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.        CgenModule.contributeUserProperties(binder)
 .add(CustomPropertyDescriptorCreator.class);



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