The job type, identified by its name, specifies a LockType.
JobTypes do not override toString so that there can more useful log output when
a jobType is just printed. When storing a reference to a JobType e.g. in C*, the name property
must be used instead of toString (like it's done for Enumerations).