Hi there,
a couple of suggestions for consistency + reuse. It'd be worth making
more use of ERXEOControlUtilities. e.g.,
a) fetch<Entity> throws IllegalStateException if multiple records are
found rather than EOUtilities.MoreThanOneException as does
ERXEOControlUtilities.objectForQualifier and EOUtilities.
b) fetchRequired throws NoSuchElementException rather than
EOObjectNotAvailableException as does
ERXEOControlUtilities.requiredObjectForQualifier let alone EOUtilities.
c) creating a record for relation... again make use of
ERXEOControlUtilities.
etc
That way any bugfixes, enhancements and so on are picked up
automatically.
Attaching suggested _WonderEntity.java
This one will work with either Wonder5 or (by setting property
wonderPre5 to 'true') Wonder4.
with regards,
--Lachlan Deck
This archive was generated by hypermail 2.0.0 : Sun Jul 13 2008 - 04:30:35 EDT