[prev in list] [next in list] [prev in thread] [next in thread] 

List:       turbine-torque-user
Subject:    RE: Why do BaseObject and its grandchldren implement Persistent?
From:       Thomas Fischer <fischer () seitenbau ! net>
Date:       2006-03-10 19:02:35
Message-ID: OF7565DB52.12E286AF-ONC125712D.00686234-C125712D.00689BCA () seitenbau ! net
[Download RAW message or body]

As you say, the code has no effect at all. It has been there since ages.
Maybe it serves the purpose to "remember" the User of the class that it
implements the Persistent interface. Maybe also, in some weird generator
configuration, it serves a purpose.
I'd recommend to just ignore it.

         Thomas

"Manaster, Carl" <CarlM@ACTIVX.com> schrieb am 10.03.2006 19:15:19:

> [apologies if this is a duplicate post; it didn't seem to reach the list
> the first time --cm]
>
> Hi,
>
> I'm trying to begin to understand Torque.  I "get" the BaseX / X model,
> and I appreciate it.  I looked at one of my X classes and noticed that
> it is declared to implement Persistent, although it (as yet) has no
> body.  So I figured the implementation must be back in the hierarchy a
> ways, perhaps spread over a few ancestors.  As it turns out, BaseObject
> not only implements Persistent, but is actually declared to implement it
> as well.
>
> So my X, which is-a BaseX, which is-a BaseObject, is known to the system
> to implement Persistent without any statement in its class definition to
> that effect.  So, why is the declaration there?
>
> Thanks.
>
> Peace,
> --Carl
>
> ------------------
> Carl Manaster
> ActivX Biosciences
> carlm@activx.com
> 858/526-2514
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-user-help@db.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic