Details
Description
Some generated objects are used in lists. Thus, it will be very useful to have identity specification for them: equals(..) and hashcode() (see MODELLO-43)
For instance, see org.apache.maven.model.Resource used in model/build/resources
Issue Links
- depends upon
-
MODELLO-83
Improvements for the generated methods equals(...), hashCode(), toString()
-
Modello already generates these methods, just add the identifier parameter:
<field> <name>name</name> <version>3.0.0+</version> <type>String</type> <identifier>true</identifier> </field>