User Object Name Type

Visual LANSA Framework

User Object Name/Type

Optional. This field allows you to assign a user-defined object type for this object.

Depending on your application, you may find it useful to set up object types for the objects you are working with.  You can then use the object type to create generic filters or command handlers that can process different types of objects.

For example, you could write a generic filter handler that would perform processing for different kinds of business objects. You would assign the business objects User Object Types such as EMP (for employee) and CUST (for customer) and then differentiate the processing in the filter handler based on these types.  You would not use the Caption property of the object for this purpose because it can be multilingual.

Similarly you could create a generic command handler that would handle both New and Copy commands. You would assign the commands using different user object types.

The User Object Type is referenced by properties #Com_Owner.avCommandType and #Com_Owner.avObjectType. See also Framework Ancestor Components.

Click on the Verify Name button to have the entered value checked for uniqueness against all the other User Object Name/Type values in the Framework. Note that this check is automatically carried out when the value is edited.

Note: We strongly recommend using uppercase alphanumeric characters from the English Alphabet (ie: A->Z) only in user object types to avoid any future code page conversion issues. DBCS characters should never be used.

 

This property is in the Identification tab.