All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.validator.AssertTrueValidator Maven / Gradle / Ivy

There is a newer version: 3.5.6-Final
Show newest version
//$Id: AssertTrueValidator.java 8194 2005-09-18 23:26:49Z epbernard $
package org.hibernate.validator;

import java.io.Serializable;


/**
 * Check whether an element is true or not
 *
 * @author Gavin King
 */
public class AssertTrueValidator implements Validator, Serializable {

	public boolean isValid(Object value) {
		return (Boolean) value;
	}

	public void initialize(AssertTrue parameters) {
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy