[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fwd: referencial integrity
Since Eric doesnt seem to be subsribed I quote this here.
Jos=E9 Carlos Meira e Silva wrote:
> =
> I am wondering about referencial integrity in ozone. Had anybody made
> anything ??
> Another thing: Can anybody explaim me how use the access security featu=
res
> of ozone?
Hi Jose,
I add the onCreate() and onDelete() methods on the Implementation
classes to enforce Object model integrity. These are called by the
container and can be used help create and remove the appropriate
relationships in your model. Other methods to enforce integrity involve
the exposed public interface of the classes you create. You can also
check and enforce these by throwing IllegalArgumentException when
relationships are violated with the wrong type or similar situations.
Hope this helps,
Eric
-------------------------------------------------------
--
______________________________________________________________________
Falko Braeutigam mailto:falko@smb-tec.com
SMB GmbH http://www.smb-tec.com
----------------------------------------------------------------------
Post a message: mailto:ozone-users@ozone-db.org
Unsubscribe: mailto:ozone-users-request@ozone-db.org?body=unsubscribe
Contact administrator: mailto:ozone-users-owner@ozone-db.org
Read archived messages: http://www.ozone-db.org/
----------------------------------------------------------------------