How about raising a feature request at

http://jira.codehaus.org/browse/CASTOR

as I am sure there won't be any objections to add such a feature (or
something eimilar). Top of my head, you could (in theory) check for the
suffix -Choice in the classname fo a class.

Regards
Werner

Godmar Back wrote:
> Regarding choices:  is there a way to tell whether a class represents a 
> choice?
> Such as "isChoice" on the *Descriptor class (of type
> XMLClassDescriptor)?   (For now, I"m testing whether the method
> "getChoiceValue()" exists - obviously, that's a limited solution; it
> also clashes with a "choiceValue" property if there were one.)
> 
> If not, this would be an RFE.
> 
>  - Godmar
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
> 
>     http://xircles.codehaus.org/manage_email
> 
> 


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to