public class PriceValidator
extends java.lang.Object
PriceWsDTO. Checks if a price is valid.| Constructor and Description |
|---|
PriceValidator() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
getFieldPath() |
void |
setFieldPath(java.lang.String fieldPath) |
boolean |
supports(java.lang.Class<?> clazz) |
void |
validate(java.lang.Object target,
Errors errors) |
protected void |
validatePriceWsDTO(PriceWsDTO price,
Errors errors)
Validation for price of type PriceWsDTO
|
public boolean supports(java.lang.Class<?> clazz)
public void validate(java.lang.Object target,
Errors errors)
protected void validatePriceWsDTO(PriceWsDTO price, Errors errors)
price - errors - protected java.lang.String getFieldPath()
public void setFieldPath(java.lang.String fieldPath)
Copyright © 2018 SAP SE. All Rights Reserved.