Skip to content

Conversation

@AlexKolonitsky
Copy link
Contributor

Name generation refactoring: …

  1. Make Smart and Base naming strategies independent in order to make behavior of Smart strategy consistent in all cases
  2. Rename NamingStrategy to NameGenerator
  3. Split NamedObjectFactory into
    3.1) NameChecker which responsible for checking is name available in naming context i.e. EntityAttribute name within Entity
    3.2) UniqueNameGenerator which in charge of returning unique name within passed naming context
  4. refactor copy/past action in order to use introduced mechanism for name generation
  5. move all classes responsible for name generation and checking into "naming" package

1) Make Smart and Base naming strategies independent in order to make behavior of Smart strategy consistent in all cases
2) Rename NamingStrategy to NameGenerator
3) Split NamedObjectFactory into
3.1) NameChecker which responsible for checking is name available in naming context i.e. EntityAttribute name within Entity
3.2) UniqueNameGenerator which in charge of returning unique name within passed naming context
4) refactor copy/past action in order to use introduced mechanism for name generation
5) move all classes responsible for name generation and checking into "naming" package
behavior of Smart strategy consistent in all cases
2) Rename NamingStrategy to NameGenerator
3) Split NamedObjectFactory into
3.1) NameChecker which responsible for checking is name available in
naming context i.e. EntityAttribute name within Entity
3.2) UniqueNameGenerator which in charge of returning unique name
within passed naming context
4) refactor copy/past action in order to use introduced mechanism for
name generation
5) move all classes responsible for name generation and checking into
"naming" package
@andrus
Copy link
Contributor

andrus commented Aug 14, 2014

Opened a Jira for it - CAY-1942 https://issues.apache.org/jira/browse/CAY-1942

@andrus
Copy link
Contributor

andrus commented Aug 14, 2014

Applied. I did some cleanup per bd22051 , but nothing major, mostly cosmetics and licensing. You can close the pull request. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants