public class LaneValidator extends Object implements org.springframework.validation.Validator
LaneValidator class.
Constructor and Description |
---|
LaneValidator()
Constructor for LaneValidator.
|
Modifier and Type | Method and Description |
---|---|
LaneService |
getLaneService()
Getter for the field
laneService . |
void |
setLaneService(LaneService LaneService)
Setter for the field
laneService . |
boolean |
supports(Class clazz) |
void |
validate(Object obj,
org.springframework.validation.Errors errors)
Validates the specified Object.
|
void |
validateName(String name,
org.springframework.validation.Errors errors)
Determines if the Lane's email address and confirm email address match.
|
public boolean supports(Class clazz)
supports
in interface org.springframework.validation.Validator
clazz
- public void validate(Object obj, org.springframework.validation.Errors errors)
validate
in interface org.springframework.validation.Validator
obj
- errors
- public void validateName(String name, org.springframework.validation.Errors errors)
errors
- Errors object for validation errorsname
- a String
object.public LaneService getLaneService()
Getter for the field laneService
.
LaneService
object.public void setLaneService(LaneService LaneService)
Setter for the field laneService
.
LaneService
- a LaneService
object.Copyright © 2015 SeqWare. All rights reserved.