[jboss-dev-forums] [Design of JBossXB] - Ignoring '_' in enum name

alesj do-not-reply at jboss.com
Mon Jul 7 05:23:35 EDT 2008


Similar to this request:
 - http://www.jboss.com/index.html?module=bb&op=viewtopic&t=132000
Although with a _lot_ less fuss this time :-),
I would like to suggest the following use case:

When we have some enum with name that contains '_' we could ignore it and/or change it with space.

Use case from MC's ControllerMode, where we have 'On Demand', but the enum is ON_DEMAND.
And InjectOption is 'ByName', but enum is BY_NAME.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4162764#4162764

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4162764



More information about the jboss-dev-forums mailing list