[JIRA] Closed: (CAY-926) Refactoring class generator classes

From: Andrus Adamchik (JIRA) ("Andrus)
Date: Tue Dec 04 2007 - 17:25:44 EST

  • Next message: Lachlan Deck: "Re: Making sense of callbacks"

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

    Andrus Adamchik closed CAY-926.
    -------------------------------

        Resolution: Fixed

    > Refactoring class generator classes
    > -----------------------------------
    >
    > Key: CAY-926
    > URL: https://issues.apache.org/cayenne/browse/CAY-926
    > Project: Cayenne
    > Issue Type: Improvement
    > Components: Cayenne Core Library
    > Affects Versions: 3.0
    > Reporter: Andrus Adamchik
    > Assignee: Andrus Adamchik
    > Priority: Minor
    > Fix For: 3.0
    >
    >
    > I am going to do some renaming and code refactoring to make class generator code easier to extend. Here is a few points I am planning to work on:
    > 1. Naming. CayenneGenerator, ClassGenerator, MapClassGenerator are all independent classes, none inheriting from each other. Just by looking at the name , it is impossible to tell that CayenneGenerator is an ant task, ClassGenerator is a template processor, and MapClassGenerator is a controller for multiple templates
    > 2. Version 1.1 vs. version 1.2... Ideally we should get rid of the versions, but for now it would be nice to may be nice to just split different version handlers into different subclasses... Don't have a clear idea yet how to do it...

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



    This archive was generated by hypermail 2.0.0 : Tue Dec 04 2007 - 17:26:09 EST