/** Validate group 'control' of type NXmonitor. */
  private void validateGroup_NXentry_control(final NXmonitor group)
      throws NexusValidationException {
    // validate that the group is not null
    validateGroupNotNull("control", NXmonitor.class, group);
    clearLocalGroupDimensionPlaceholderValues();

    // validate field 'mode' of unknown type.
    final IDataset mode = group.getMode();
    validateFieldNotNull("mode", mode);
    validateFieldEnumeration("mode", mode, "monitor", "timer");

    // validate field 'preset' of type NX_FLOAT.
    final IDataset preset = group.getPreset();
    validateFieldNotNull("preset", preset);
    validateFieldType("preset", preset, NX_FLOAT);
    validateFieldUnits("preset", preset, NX_ANY);

    // validate field 'integral' of type NX_FLOAT.
    final IDataset integral = group.getIntegral();
    validateFieldNotNull("integral", integral);
    validateFieldType("integral", integral, NX_FLOAT);
    validateFieldUnits("integral", integral, NX_ANY);
  }