Menu

#1 Factory.getDefaultValue() has wrong return type

open
nobody
None
7
2004-08-17
2004-08-17
No

The factory interfaces are meant to allow the
integeration of third party domain value frameworks.
Therefore most methods returning domain values have
Object as their return type and not DomainValue. The
only exception to this rule is
Factory.getDefaultValue() which returns without any
visible reason DomainValue.
This makes it practically impossible to actually
integrate a third party domain value framework.

Conclusion: Return type of Factory.getDefaultValue()
should be changed to Object.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB