Hi there,

I'm looking at fixing hbm2doc to work with inner-classes and figure
the following changes to POJOClass are necessary as it stands:

- getShortName, getDeclarationName and getJavaTypeName need to return
X.Y for inner classes, not just Y

I'm not entirely sure of the distinction between getShortName and
getDeclarationName - the latter seems to account for meta attributes
whereas the former doesn't.  Also, changing getJavaTypeName requires
altering the behaviour of ImportContextImpl such that:

  ImportContextImpl.importType("a.b.X.Y") == "X.Y" (import a.b.X)

Obviously these changes will have repercussions in other areas of
hbm2x.  Any thoughts on how to minimise damage?

Mark
_______________________________________________
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev

Reply via email to