Dynamic View Services > Semantics of Dynamic View Type Specifications > Reference and Alternate Representation
 
Reference and Alternate Representation
Let us consider the same Server model as in the previous section and given the following specification:
subscribe A:
represent Table table: ...
subscribe B:
represent Table table: ...
subscribe C:
represent Row row:
Ref<Table> owner=r.table;
When evaluating the owner of the reference attribute, Rogue Wave Server first looks for a representation object whose model named table is the one specified for the type A. If it is not found and if the target of relation r is actually of type B, Rogue Wave Server looks for a representation object whose model named table is now the one specified for type B.
Note: The type of the representation object table associated with B can be Table or any subtype of Table.

Version 6.3
Copyright © 2018, Rogue Wave Software, Inc. All Rights Reserved.