1 /*
2 * Hibernate Validator, declare and validate application constraints
3 *
4 * License: Apache License, Version 2.0
5 * See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>.
6 */
7 package org.hibernate.validator.internal.metadata.location;
8
9 import org.hibernate.validator.internal.properties.Field;
10
11 /**
12 * Field property constraint location.
13 *
14 * @author Marko Bekhta
15 */
16 public class FieldConstraintLocation extends AbstractPropertyConstraintLocation<Field> {
17
18 FieldConstraintLocation(Field field) {
19 super( field );
20 }
21
22 @Override
23 public ConstraintLocationKind getKind() {
24 return ConstraintLocationKind.FIELD;
25 }
26 }
27