/*
 * Hibernate Validator, declare and validate application constraints
 *
 * License: Apache License, Version 2.0
 * See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>.
 */
package org.hibernate.validator.cfg.defs;

import javax.validation.constraints.Max;

import org.hibernate.validator.cfg.ConstraintDef;

Author:Hardy Ferentschik
/** * @author Hardy Ferentschik */
public class MaxDef extends ConstraintDef<MaxDef, Max> { public MaxDef() { super( Max.class ); } public MaxDef value(long max) { addParameter( "value", max ); return this; } }