[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: referencial integrity



Thnaks, Eric,
Are there any automatic way of testing if there is an object referencing
another?? (an agregation relationship, for example). In the other form: I am
an ozone object and I am want to know if there is another ozone object
pointing to me...

Jose Carlos
-----Mensagem Original-----
De: "Falko Braeutigam" <falko@smb-tec.com>
Para: <ozone-users@ozone-db.org>
Cc: <eric.richardson@milagrosoft.com>
Enviada em: Quarta-feira, 26 de Setembro de 2001 08:59
Assunto: 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/
> ----------------------------------------------------------------------
>

----------------------------------------------------------------------
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/
----------------------------------------------------------------------