org.hibernate.validator.internal.metadata.location.GetterConstraintLocation Maven / Gradle / Ivy
/*
* Hibernate Validator, declare and validate application constraints
*
* License: Apache License, Version 2.0
* See the license.txt file in the root directory or .
*/
package org.hibernate.validator.internal.metadata.location;
import org.hibernate.validator.internal.properties.Getter;
/**
* Getter property constraint location.
*
* @author Marko Bekhta
*/
public class GetterConstraintLocation extends AbstractPropertyConstraintLocation {
GetterConstraintLocation(Getter getter) {
super( getter );
}
@Override
public ConstraintLocationKind getKind() {
return ConstraintLocationKind.GETTER;
}
}