Constructor: set this reference
<p>I've an already implemented application which connects to a <em>database</em>. Now, the problem is that I need to implement a <em>caching system</em> (if easily possible) for some of the objects because their initialization takes too long for getting the needed data from the database every time when I need those objects. (Those objects won't change quite often and in fact, I could update them using a timestamp if necessary.)</p>

<p>Since I can't easily change the whole application I'd like to know if there is any method so that I can set the "this" object within the constructor itself. I am referring to the ability of Objective-C where I am able to call any method that returns an <code>id</code> and set it to the <code>self</code> "variable" which then updates in fact the whole object.
To explain my idea a bit better: I want to initialize a static cache in those classes and get the already stored object (if available) within the constructor. Please note that all <em>setters refer to SQL</em> code too.</p>

<p>I also know that I could just <em>use the getters</em> of the already stored object to set the values of the new one within the constructor but this would <em>create many objects</em> too and in case there might be a <em>change in the values I won't replicate</em> this to all other objects cloned from that one.</p>

<p>Any ideas, thanks?!</p>
