public String getValidationMethodName ( ) { if ( isValidated ( ) == false ) { throw new IllegalStateException ( ) ; } if ( getValidation ( ) . equals ( "notNull" ) || getValidation ( ) . equals ( "notEmpty" ) || getValidation ( ) . equals ( "notBlank" ) ) { return "JodaBeanUtils." + getValidation ( ) ; } return getValidation ( ) ; // method in bean or static }
Gets the validation method name .