users@jaxb.java.net
Re: hashCode and equals methods in generated classes
This message
: [
Message body
] [ More options (
top
,
bottom
) ]
Related messages
: [
Next message
] [
Previous message
] [
In reply to
] [
Next in thread
] [
Replies
]
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]
From
: Aleksei Valikov <
valikov_at_gmx.net
>
Date
: Fri, 27 Oct 2006 11:20:08 +0200
Hi.
> Has anyone else developed a solution for generating equals and hashCode
> methods inside the generated classes since subclasses aren't an option:
>
>
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6350739
There are two plugins to do that:
This one in jaxb2-commons uses reflection:
https://jaxb2-commons.dev.java.net/commons-lang-plugin/
This one from hyperjaxb3 generates expanded hashCode and equals which do not use
reflection:
https://hyperjaxb3.dev.java.net/docs/tools/plugin/index.html
Bye.
/lexi
This message
: [
Message body
]
Next message
:
Markku Saarela: "Re: hashCode and equals methods in generated classes [JAXB-2.x Maven-2 Plugin]"
Previous message
:
Kenny MacLeod: "Re: hashCode and equals methods in generated classes"
In reply to
:
Art: "hashCode and equals methods in generated classes"
Next in thread
:
Markku Saarela: "Re: hashCode and equals methods in generated classes [JAXB-2.x Maven-2 Plugin]"
Reply
:
Markku Saarela: "Re: hashCode and equals methods in generated classes [JAXB-2.x Maven-2 Plugin]"
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]