Hello there,

As we all know in appfuse2, for the persistent model, we extend the base
object and must implement equals, hashcode & toString methods.

I understand the equals and hashcode where the equals/hashCode method should
only include the members corresponding to the business/candidate keys.

I am using commoneclipse to generate the toString() method and it include
all fields. From my understanding this method returns a concise but
informative representation that is easy for a person to read. But what about
Sets or Collections? Do we have to include it as well or omit it from our
code?

--
/fadhli

Reply via email to