On Mar 9, 2014, at 1:49 PM, Scott Ahten <[email protected]> wrote:

> I've run into a scenario where two CBLModel subclasses implement the same 
> interface and I want to store a reference to either of these subclasses as a 
> property on a third CBLModel subclass. 
> 
> The compeller doesn't complain, but I was unsure if CBLModel handle this 
> scenario correctly. Note: both CBLModel classes whom implement the same 
> interface have a type property and are registered with CBLModelFactory. 

This will work fine. Internally, CBLModel calls the model-factory to resolve 
the docID into a model instance.

--Jens

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/7C0DE60A-C30C-4FEC-9A56-48FF200F502C%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to