Let's say you want to initialize some complex data when the object is retrieved from DB and recompute the stored data when it's updated.