You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Lawrence Jones (JIRA)" <xm...@xml.apache.org> on 2005/07/07 02:06:09 UTC

[jira] Assigned: (XMLBEANS-166) Generated classes should implement equals and hashcode

     [ http://issues.apache.org/jira/browse/XMLBEANS-166?page=all ]

Lawrence Jones reassigned XMLBEANS-166:
---------------------------------------

    Assign To: Lawrence Jones

> Generated classes should implement equals and hashcode
> ------------------------------------------------------
>
>          Key: XMLBEANS-166
>          URL: http://issues.apache.org/jira/browse/XMLBEANS-166
>      Project: XMLBeans
>         Type: Improvement
>     Versions: Version 1
>  Environment: n/a
>     Reporter: Peter Monks
>     Assignee: Lawrence Jones
>     Priority: Minor

>
> It would be ideal if the classes generated by XMLBeans from an XML schema implemented the equals and hashcode methods, preferably with "deep" semantics (ie. contained objects are recursively compared using equals rather than ==).
> At this point we're using the output of the xmlText method for equivalence comparisons, but that's a bit of a hack and depends on deterministic behaviour in the xmlText method (which is likely, but afaict not guaranteed by XMLBeans).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org