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\"");
		
		MPSInternetHost server_name_validator = new MPSInternetHost();
		server_name_validator.setConstraintIsReq(MPSConstants.ADD_CONSTRAINT, true);
		server_name_validator.validate(operationType, server_name, "\"server_name\"");
		
		MPSInt port_validator = new MPSInt();
		port_validator.setConstraintMinValue(MPSConstants.GENERIC_CONSTRAINT, 1);
		port_validator.setConstraintMaxValue(MPSConstants.GENERIC_CONSTRAINT, 65534);
		port_validator.validate(operationType, port, "\"port\"");
		
		MPSString username_validator = new MPSString();
		username_validator.setConstraintCharSetRegEx(MPSConstants.GENERIC_CONSTRAINT,"[ a-zA-Z0-9_#.:@=-]+");
		username_validator.setConstraintMaxStrLen(MPSConstants.GENERIC_CONSTRAINT, 128);
		username_validator.validate(operationType, username, "\"username\"");
		
		MPSString password_validator = new MPSString();
		password_validator.setConstraintMaxStrLen(MPSConstants.GENERIC_CONSTRAINT, 128);
		password_validator.validate(operationType, password, "\"password\"");
		
		MPSBoolean is_auth_validator = new MPSBoolean();
		is_auth_validator.validate(operationType, is_auth, "\"is_auth\"");
		
		MPSBoolean is_ssl_validator = new MPSBoolean();
		is_ssl_validator.validate(operationType, is_ssl, "\"is_ssl\"");
		
	}
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\"" ) ; MPSInternetHost server_name_validator = new MPSInternetHost ( ) ; server_name_validator . setConstraintIsReq ( MPSConstants . ADD_CONSTRAINT , true ) ; server_name_validator . validate ( operationType , server_name , "\"server_name\"" ) ; MPSInt port_validator = new MPSInt ( ) ; port_validator . setConstraintMinValue ( MPSConstants . GENERIC_CONSTRAINT , 1 ) ; port_validator . setConstraintMaxValue ( MPSConstants . GENERIC_CONSTRAINT , 65534 ) ; port_validator . validate ( operationType , port , "\"port\"" ) ; MPSString username_validator = new MPSString ( ) ; username_validator . setConstraintCharSetRegEx ( MPSConstants . GENERIC_CONSTRAINT , "[ a-zA-Z0-9_#.:@=-]+" ) ; username_validator . setConstraintMaxStrLen ( MPSConstants . GENERIC_CONSTRAINT , 128 ) ; username_validator . validate ( operationType , username , "\"username\"" ) ; MPSString password_validator = new MPSString ( ) ; password_validator . setConstraintMaxStrLen ( MPSConstants . GENERIC_CONSTRAINT , 128 ) ; password_validator . validate ( operationType , password , "\"password\"" ) ; MPSBoolean is_auth_validator = new MPSBoolean ( ) ; is_auth_validator . validate ( operationType , is_auth , "\"is_auth\"" ) ; MPSBoolean is_ssl_validator = new MPSBoolean ( ) ; is_ssl_validator . validate ( operationType , is_ssl , "\"is_ssl\"" ) ; }
<pre>
Performs generic data validation for the operation to be performed
</pre>