For Type, set the VALUELIST parameter. Setting this parameter constrains the possible values of Type to those that you list. Enter the following: ,Business,Personal. This constrains Type's values to Business and Personal. Note that placing the comma first informs the compiler that the comma is the delimiter for the list. So, you place a comma, but no space, between "Business" and "Personal". Click Finish.
Each time that you finish these steps for a property, the property declaration becomes visible in Studio's Class Editor.
When complete, your class definition looks like the following:
After adding the properties click Build>Compile on the Caché Studio menu bar to compile the class. After successful compilation, the storage definition for the class will be visible in Studio. The storage definition is section of XML in the class definition. It defines the mechanism that Caché will use to store and load instances of the class to and from the database. The class definition looks like this