Am 31.01.2013 13:52, schrieb Christophe Bouhier:
> EMF since some time supports code generation of derived features, invariants etc... In my original model, I defined
> these things, starting from .XSD. Here is an example:
> <!-- Derived attributes -->
> <xs:attribute ecore:derived="true" ecore:transient="true"
> ecore:volatile="true" name="Count" type="xs:int">
> <xs:documentation>OCL derived feature: Count all equipments.
> <xs:appinfo ecore:key="derivation"
> Now I wonder, how does CDO deal with this? I see in the generated Class for this attribute delegates
> to eGet(). Does the eStore pass it on to the OCL Query handler? How is this supposed to work?
I've never used this functionality myself, but I suspect that annotated OCL expressions get evaluated on the client side.