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

ok; not sure if the classes know if they are inner classes.

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)

Again, how do you know wether a name is a class or an inner class?



--
--
Max Rydahl Andersen
callto://max.rydahl.andersen

Hibernate
[EMAIL PROTECTED]
http://hibernate.org

JBoss a division of Red Hat
[EMAIL PROTECTED]

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

Reply via email to