We will first construct an attribute class that will be used to tell the framework which class should be made for the status value; this is done with the following steps:
- Create a new class named ConVMSVehicleServiceStatusAttribute.
- The contents of this class is nearly the same for all attribute classes, and we can use a string or base enum. In this case, we are using the ConVMSVehicleServiceStatus enum, so write the following code:
class ConVMSVehicleServiceStatusAttribute extends SysAttribute implements SysExtensionIAttribute{ ConVMSVehicleServiceStatus serviceStatus; public void new(ConVMSVehicleServiceStatus _serviceStatus) { serviceStatus = _serviceStatus; } public str parmCacheKey() { // This key must be invariant ...