/** @param type CTM type (rho-CTM, v-CTM, etc), an element of the CTMType enum */
 public void setCTMTypeEnum(CTMType type) {
   CharSequence typeString = null;
   switch (type) {
     case DENSITY:
       typeString = "Density";
       break;
     case VELOCITY:
       typeString = "Velocity";
       break;
     case DENSITY_VELOCITY_FUSION:
       typeString = "DensityVelocityFusion";
       break;
     case VELOCITY_DENSITY_FUSION:
       typeString = "VelocityDensityFusion";
       break;
     default:
       throw new IllegalArgumentException("Unknown CTM type " + type + ".");
   }
   super.setCtmType(typeString);
 }