de.twenty11.skysail.common.responses.ConstraintViolationDetails Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of skysail.common Show documentation
Show all versions of skysail.common Show documentation
common for both server and client skysail code
The newest version!
package de.twenty11.skysail.common.responses;
import javax.validation.ConstraintViolation;
public class ConstraintViolationDetails {
private String propertyPath;
private String message;
public ConstraintViolationDetails(ConstraintViolation> constraintViolation) {
propertyPath = constraintViolation.getPropertyPath().toString();
message = constraintViolation.getMessage();
}
public String getPropertyPath() {
return propertyPath;
}
public String getMessage() {
return message;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy