ITransactedObject [message #570364] |
Mon, 19 May 2008 19:45 |
Eclipse User |
|
|
|
Originally posted by: ekkehard.gentz-software.de
I only want to verify if my understandig is correct:
1. each business object has to implement ITransactedObject
2. IObjectId has two properties:
version (seee my other question)
IObjectId
3. IObjectId has one property:
type
if I set the type to a qualified classname unique over my system
- this should be ok, I think.
4. IObjectId most important methods are equals() and hashcode() to verify,
that the object is unique identified.
I'm using a long as (technical) PrimaryKey
this PK is unique to the DB Table, but dependent from
inheritance strategy not unique to a java BO
but together with the type its a unique identifier of the BO
so your contract is fullfilled
ekke
|
|
|
Powered by
FUDForum. Page generated in 0.01888 seconds