protected void validate(String operationType) throws Exception
	{
		super.validate(operationType);

		MPSString id_validator = new MPSString();
		id_validator.setConstraintIsReq(MPSConstants.DELETE_CONSTRAINT, true);
		id_validator.setConstraintIsReq(MPSConstants.MODIFY_CONSTRAINT, true);
		id_validator.validate(operationType, id, "\"id\"");
		
		MPSIPAddress ip_address_validator = new MPSIPAddress();
		ip_address_validator.setConstraintIsReq(MPSConstants.ADD_CONSTRAINT, true);
		ip_address_validator.validate(operationType, ip_address, "\"ip_address\"");
		
		MPSString type_validator = new MPSString();
		type_validator.setConstraintMaxStrLen(MPSConstants.GENERIC_CONSTRAINT, 64);
		type_validator.setConstraintMinStrLen(MPSConstants.GENERIC_CONSTRAINT, 1);
		type_validator.validate(operationType, type, "\"type\"");
		
		MPSString profile_name_validator = new MPSString();
		profile_name_validator.setConstraintMaxStrLen(MPSConstants.GENERIC_CONSTRAINT, 128);
		profile_name_validator.setConstraintMinStrLen(MPSConstants.GENERIC_CONSTRAINT, 1);
		profile_name_validator.validate(operationType, profile_name, "\"profile_name\"");
		
		MPSBoolean user_driven_validator = new MPSBoolean();
		user_driven_validator.validate(operationType, user_driven, "\"user_driven\"");
		
		MPSInt ping_state_validator = new MPSInt();
		ping_state_validator.validate(operationType, ping_state, "\"ping_state\"");
		
		MPSString status_validator = new MPSString();
		status_validator.setConstraintMaxStrLen(MPSConstants.GENERIC_CONSTRAINT, 64);
		status_validator.setConstraintMinStrLen(MPSConstants.GENERIC_CONSTRAINT, 1);
		status_validator.validate(operationType, status, "\"status\"");
		
		MPSString reason_validator = new MPSString();
		reason_validator.setConstraintMaxStrLen(MPSConstants.GENERIC_CONSTRAINT, 1024);
		reason_validator.setConstraintMinStrLen(MPSConstants.GENERIC_CONSTRAINT, 1);
		reason_validator.validate(operationType, reason, "\"reason\"");
		
		MPSString name_validator = new MPSString();
		name_validator.setConstraintCharSetRegEx(MPSConstants.GENERIC_CONSTRAINT,"[a-zA-Z0-9_#.:@=-]+");
		name_validator.setConstraintMaxStrLen(MPSConstants.GENERIC_CONSTRAINT, 128);
		name_validator.setConstraintMinStrLen(MPSConstants.GENERIC_CONSTRAINT, 1);
		name_validator.validate(operationType, name, "\"name\"");
		
		MPSIPAddress netmask_validator = new MPSIPAddress();
		netmask_validator.validate(operationType, netmask, "\"netmask\"");
		
		MPSIPAddress gateway_validator = new MPSIPAddress();
		gateway_validator.validate(operationType, gateway, "\"gateway\"");
		
		MPSString hostname_validator = new MPSString();
		hostname_validator.setConstraintCharSetRegEx(MPSConstants.GENERIC_CONSTRAINT,"[ a-zA-Z0-9_#.:@=-]+");
		hostname_validator.setConstraintMaxStrLen(MPSConstants.GENERIC_CONSTRAINT, 256);
		hostname_validator.setConstraintMinStrLen(MPSConstants.GENERIC_CONSTRAINT, 1);
		hostname_validator.validate(operationType, hostname, "\"hostname\"");
		
		MPSString description_validator = new MPSString();
		description_validator.setConstraintMaxStrLen(MPSConstants.GENERIC_CONSTRAINT, 512);
		description_validator.setConstraintMinStrLen(MPSConstants.GENERIC_CONSTRAINT, 1);
		description_validator.validate(operationType, description, "\"description\"");
		
		MPSString device_family_validator = new MPSString();
		device_family_validator.setConstraintMaxStrLen(MPSConstants.GENERIC_CONSTRAINT, 64);
		device_family_validator.setConstraintMinStrLen(MPSConstants.GENERIC_CONSTRAINT, 1);
		device_family_validator.validate(operationType, device_family, "\"device_family\"");
		
		MPSString version_validator = new MPSString();
		version_validator.setConstraintMaxStrLen(MPSConstants.GENERIC_CONSTRAINT, 256);
		version_validator.setConstraintMinStrLen(MPSConstants.GENERIC_CONSTRAINT, 1);
		version_validator.validate(operationType, version, "\"version\"");
		
		MPSString instance_state_validator = new MPSString();
		instance_state_validator.setConstraintMaxStrLen(MPSConstants.GENERIC_CONSTRAINT, 64);
		instance_state_validator.setConstraintMinStrLen(MPSConstants.GENERIC_CONSTRAINT, 1);
		instance_state_validator.validate(operationType, instance_state, "\"instance_state\"");
		
		MPSString profile_username_validator = new MPSString();
		profile_username_validator.setConstraintCharSetRegEx(MPSConstants.GENERIC_CONSTRAINT,"[ a-zA-Z0-9_#.:@=-]+");
		profile_username_validator.setConstraintMaxStrLen(MPSConstants.GENERIC_CONSTRAINT, 128);
		profile_username_validator.setConstraintMinStrLen(MPSConstants.GENERIC_CONSTRAINT, 1);
		profile_username_validator.validate(operationType, profile_username, "\"profile_username\"");
		
		MPSString profile_password_validator = new MPSString();
		profile_password_validator.setConstraintMaxStrLen(MPSConstants.GENERIC_CONSTRAINT, 128);
		profile_password_validator.setConstraintMinStrLen(MPSConstants.GENERIC_CONSTRAINT, 1);
		profile_password_validator.validate(operationType, profile_password, "\"profile_password\"");
		
		MPSString act_id_validator = new MPSString();
		act_id_validator.validate(operationType, act_id, "\"act_id\"");
		
	}
protected void validate ( String operationType ) throws Exception { super . validate ( operationType ) ; MPSString id_validator = new MPSString ( ) ; id_validator . setConstraintIsReq ( MPSConstants . DELETE_CONSTRAINT , true ) ; id_validator . setConstraintIsReq ( MPSConstants . MODIFY_CONSTRAINT , true ) ; id_validator . validate ( operationType , id , "\"id\"" ) ; MPSIPAddress ip_address_validator = new MPSIPAddress ( ) ; ip_address_validator . setConstraintIsReq ( MPSConstants . ADD_CONSTRAINT , true ) ; ip_address_validator . validate ( operationType , ip_address , "\"ip_address\"" ) ; MPSString type_validator = new MPSString ( ) ; type_validator . setConstraintMaxStrLen ( MPSConstants . GENERIC_CONSTRAINT , 64 ) ; type_validator . setConstraintMinStrLen ( MPSConstants . GENERIC_CONSTRAINT , 1 ) ; type_validator . validate ( operationType , type , "\"type\"" ) ; MPSString profile_name_validator = new MPSString ( ) ; profile_name_validator . setConstraintMaxStrLen ( MPSConstants . GENERIC_CONSTRAINT , 128 ) ; profile_name_validator . setConstraintMinStrLen ( MPSConstants . GENERIC_CONSTRAINT , 1 ) ; profile_name_validator . validate ( operationType , profile_name , "\"profile_name\"" ) ; MPSBoolean user_driven_validator = new MPSBoolean ( ) ; user_driven_validator . validate ( operationType , user_driven , "\"user_driven\"" ) ; MPSInt ping_state_validator = new MPSInt ( ) ; ping_state_validator . validate ( operationType , ping_state , "\"ping_state\"" ) ; MPSString status_validator = new MPSString ( ) ; status_validator . setConstraintMaxStrLen ( MPSConstants . GENERIC_CONSTRAINT , 64 ) ; status_validator . setConstraintMinStrLen ( MPSConstants . GENERIC_CONSTRAINT , 1 ) ; status_validator . validate ( operationType , status , "\"status\"" ) ; MPSString reason_validator = new MPSString ( ) ; reason_validator . setConstraintMaxStrLen ( MPSConstants . GENERIC_CONSTRAINT , 1024 ) ; reason_validator . setConstraintMinStrLen ( MPSConstants . GENERIC_CONSTRAINT , 1 ) ; reason_validator . validate ( operationType , reason , "\"reason\"" ) ; MPSString name_validator = new MPSString ( ) ; name_validator . setConstraintCharSetRegEx ( MPSConstants . GENERIC_CONSTRAINT , "[a-zA-Z0-9_#.:@=-]+" ) ; name_validator . setConstraintMaxStrLen ( MPSConstants . GENERIC_CONSTRAINT , 128 ) ; name_validator . setConstraintMinStrLen ( MPSConstants . GENERIC_CONSTRAINT , 1 ) ; name_validator . validate ( operationType , name , "\"name\"" ) ; MPSIPAddress netmask_validator = new MPSIPAddress ( ) ; netmask_validator . validate ( operationType , netmask , "\"netmask\"" ) ; MPSIPAddress gateway_validator = new MPSIPAddress ( ) ; gateway_validator . validate ( operationType , gateway , "\"gateway\"" ) ; MPSString hostname_validator = new MPSString ( ) ; hostname_validator . setConstraintCharSetRegEx ( MPSConstants . GENERIC_CONSTRAINT , "[ a-zA-Z0-9_#.:@=-]+" ) ; hostname_validator . setConstraintMaxStrLen ( MPSConstants . GENERIC_CONSTRAINT , 256 ) ; hostname_validator . setConstraintMinStrLen ( MPSConstants . GENERIC_CONSTRAINT , 1 ) ; hostname_validator . validate ( operationType , hostname , "\"hostname\"" ) ; MPSString description_validator = new MPSString ( ) ; description_validator . setConstraintMaxStrLen ( MPSConstants . GENERIC_CONSTRAINT , 512 ) ; description_validator . setConstraintMinStrLen ( MPSConstants . GENERIC_CONSTRAINT , 1 ) ; description_validator . validate ( operationType , description , "\"description\"" ) ; MPSString device_family_validator = new MPSString ( ) ; device_family_validator . setConstraintMaxStrLen ( MPSConstants . GENERIC_CONSTRAINT , 64 ) ; device_family_validator . setConstraintMinStrLen ( MPSConstants . GENERIC_CONSTRAINT , 1 ) ; device_family_validator . validate ( operationType , device_family , "\"device_family\"" ) ; MPSString version_validator = new MPSString ( ) ; version_validator . setConstraintMaxStrLen ( MPSConstants . GENERIC_CONSTRAINT , 256 ) ; version_validator . setConstraintMinStrLen ( MPSConstants . GENERIC_CONSTRAINT , 1 ) ; version_validator . validate ( operationType , version , "\"version\"" ) ; MPSString instance_state_validator = new MPSString ( ) ; instance_state_validator . setConstraintMaxStrLen ( MPSConstants . GENERIC_CONSTRAINT , 64 ) ; instance_state_validator . setConstraintMinStrLen ( MPSConstants . GENERIC_CONSTRAINT , 1 ) ; instance_state_validator . validate ( operationType , instance_state , "\"instance_state\"" ) ; MPSString profile_username_validator = new MPSString ( ) ; profile_username_validator . setConstraintCharSetRegEx ( MPSConstants . GENERIC_CONSTRAINT , "[ a-zA-Z0-9_#.:@=-]+" ) ; profile_username_validator . setConstraintMaxStrLen ( MPSConstants . GENERIC_CONSTRAINT , 128 ) ; profile_username_validator . setConstraintMinStrLen ( MPSConstants . GENERIC_CONSTRAINT , 1 ) ; profile_username_validator . validate ( operationType , profile_username , "\"profile_username\"" ) ; MPSString profile_password_validator = new MPSString ( ) ; profile_password_validator . setConstraintMaxStrLen ( MPSConstants . GENERIC_CONSTRAINT , 128 ) ; profile_password_validator . setConstraintMinStrLen ( MPSConstants . GENERIC_CONSTRAINT , 1 ) ; profile_password_validator . validate ( operationType , profile_password , "\"profile_password\"" ) ; MPSString act_id_validator = new MPSString ( ) ; act_id_validator . validate ( operationType , act_id , "\"act_id\"" ) ; }
<pre>
Performs generic data validation for the operation to be performed
</pre>