Field Mapping page
On the Variables page, specify the serialization UID and the instance variables you want to be passed via RMI. The Variables page appears only if the class is serializable (it implements the java.io.Serializable interface).
To get a serialization UID, ask your compiled Java class for its UID by entering the following from a command line:
serialver <your Java class name>
For example, if your Java class has the name MyClass, enter serialver MyClass.
If you later recompile your serialized Java class, you must update your Smalltalk code with the new UID.
To add an instance variable to the list, follow these steps:
1. Select Add. A window appears prompting you for details about the instance variable.
2. Specify the variable name, Smalltalk getter and setter methods, and Java type of the instance variable. Select
or
to choose from a list of available Java types imported from the Java repository of the Smalltalk image or the VisualAge for Java servlet interface.
3. Select OK to add the variable to the list.
Once you have added the variable to the list, you can select the fields in the list and select Edit to edit them. To remove an instance variable from the list, select the variable you want to remove and then select Remove. You can also move the variables up and down in the field list by selecting Move up or Move down.
When you have finished specifying variables, select Next to continue to the next page.
Last modified date: 09/19/2018