ITransactedObject [message #1532] |
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
|
|
|
Re: ITransactedObject [message #1546 is a reply to message #1532] |
Mon, 19 May 2008 19:48 |
Eclipse User |
|
|
|
Originally posted by: ekkehard.gentz-software.de
sorry a type
2. should be
2. ITransactedObject has two properties:
version (seee my other question)
IObjectId
|
|
|
|
Re: ITransactedObject [message #1631 is a reply to message #1618] |
Tue, 20 May 2008 10:52 |
Eclipse User |
|
|
|
Originally posted by: ekkehard.gentz-software.de
fine :-)
btw: I have a "short" qualified name of the classes -
unique in my domain (simple parent package name + class name)
ekke
|
|
|
Re: ITransactedObject [message #570450 is a reply to message #1532] |
Mon, 19 May 2008 19:48 |
Eclipse User |
|
|
|
Originally posted by: ekkehard.gentz-software.de
sorry a type
2. should be
2. ITransactedObject has two properties:
version (seee my other question)
IObjectId
|
|
|
|
Re: ITransactedObject [message #570723 is a reply to message #1618] |
Tue, 20 May 2008 10:52 |
Eclipse User |
|
|
|
Originally posted by: ekkehard.gentz-software.de
fine :-)
btw: I have a "short" qualified name of the classes -
unique in my domain (simple parent package name + class name)
ekke
|
|
|
Powered by
FUDForum. Page generated in 0.04218 seconds