Class ValidationDto
- java.lang.Object
-
- de.knightsoftnet.gwtp.spring.shared.data.ValidationDto
-
- All Implemented Interfaces:
ValidationValueInterface
public class ValidationDto extends Object implements ValidationValueInterface
-
-
Constructor Summary
Constructors Constructor Description ValidationDto()default constructor.ValidationDto(String pmessage, String ppropertyPath)constructor fills data from message and path.ValidationDto(javax.validation.ConstraintViolation<?> pviolation)constructor fills data from violation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMessage()StringgetPropertyPath()voidsetMessage(String pmessage)voidsetPropertyPath(String ppropertyPath)
-
-
-
Method Detail
-
getMessage
public final String getMessage()
- Specified by:
getMessagein interfaceValidationValueInterface
-
setMessage
public final void setMessage(String pmessage)
- Specified by:
setMessagein interfaceValidationValueInterface
-
getPropertyPath
public final String getPropertyPath()
- Specified by:
getPropertyPathin interfaceValidationValueInterface
-
setPropertyPath
public final void setPropertyPath(String ppropertyPath)
- Specified by:
setPropertyPathin interfaceValidationValueInterface
-
-