JUserObject methods

 

JUserObject methods

JUserObject methods provide a usage context for the box in question (please note that in Figure 16, the use link is present to simulate a relationship).

 

Figure 16. The JUserObject metaclass

 

The following methods are contained in the JUserObject class, which is an abstract class:

appendUserData (object : inout Object);

This adds to the user data list a model object, in order to provide a usage context.

 

eraseUserData(object : inout Object);

This removes from the user data list a model object, if it has already been added using the previous method.

 

getUserData ()  

       return SetOfObject

This returns the user data list.

 

setUserInfo (label : in String)

This is used to memorize textual information.

 

getUserInfo()

       return String

This returns textual information.