code: protected void validate(String operationType) throws Exception
  	{
  		super.validate(operationType);
  
  		MPSString id_validator = new MPSString();
  		id_validator.setConstraintIsReq(MPSConstants.ADD_CONSTRAINT, true);
  		id_validator.setConstraintIsReq(MPSConstants.MODIFY_CONSTRAINT, true);
  		id_validator.validate(operationType, id, "\"id\"");
  		
  		MPSString task_device_id_validator = new MPSString();
  		task_device_id_validator.validate(operationType, task_device_id, "\"task_device_id\"");
  		
  		MPSString command_validator = new MPSString();
  		command_validator.setConstraintMaxStrLen(MPSConstants.GENERIC_CONSTRAINT, 1024);
  		command_validator.setConstraintMinStrLen(MPSConstants.GENERIC_CONSTRAINT, 1);
  		command_validator.validate(operationType, command, "\"command\"");
  		
  		MPSString protocol_validator = new MPSString();
  		protocol_validator.setConstraintMaxStrLen(MPSConstants.GENERIC_CONSTRAINT, 32);
  		protocol_validator.setConstraintMinStrLen(MPSConstants.GENERIC_CONSTRAINT, 1);
  		protocol_validator.validate(operationType, protocol, "\"protocol\"");
  		
  		MPSInt starttime_validator = new MPSInt();
  		starttime_validator.validate(operationType, starttime, "\"starttime\"");
  		
  		MPSInt endtime_validator = new MPSInt();
  		endtime_validator.validate(operationType, endtime, "\"endtime\"");
  		
  		MPSString status_validator = new MPSString();
  		status_validator.setConstraintMaxStrLen(MPSConstants.GENERIC_CONSTRAINT, 128);
  		status_validator.validate(operationType, status, "\"status\"");
  		
  		MPSString statusmessage_validator = new MPSString();
  		statusmessage_validator.setConstraintMaxStrLen(MPSConstants.GENERIC_CONSTRAINT, 4096);
  		statusmessage_validator.validate(operationType, statusmessage, "\"statusmessage\"");
  		
  	}
docs: <pre>
  Performs generic data validation for the operation to be performed
  </pre>