Rogue Wave Server/Rogue Wave Views Integration > Server/Views Mapping > Managing User-Defined Server Object Types
 
Managing User-Defined Server Object Types
The Server/Views mapping uses a new mechanism to handle user-defined server object types in the columns of Main data sources or Properties data sources. To support user-defined types, the Server/Views mapping library must be able to:
*assign an Rogue Wave Views type to the columns that will store values of user-defined types;
*convert values of user-defined types to value of predefined Rogue Wave Views types;
*convert Rogue Wave Views values to values of user-defined types;
To support user-defined server object types in Views data sources, you can:
*derive the class IlsSwRow to handle a specific column mapped on a user-defined representation attribute.
*Use a global converter to convert Rogue Wave Views types to Rogue Wave Server types and vice versa.
If you choose to use converters, three steps are required. You will have to:
*establish an association between an Rogue Wave Server user-defined type and an Rogue Wave Views type so as to create columns for that type in Views memory tables;
*specify a converter to convert from an Rogue Wave Server user-defined type to an Rogue Wave Views type;
*specify a converter to convert from an Rogue Wave Views type to an Rogue Wave Server user-defined type.

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