Package org.opennms.web.validator
Class StatisticsReportCommandValidator
- java.lang.Object
-
- org.opennms.web.validator.StatisticsReportCommandValidator
-
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
,org.springframework.validation.Validator
public class StatisticsReportCommandValidator extends Object implements org.springframework.validation.Validator, org.springframework.beans.factory.InitializingBean
Command validator for StatisticsReportCommand.- Since:
- 1.8.1
- Version:
- $Id: $
- Author:
- DJ Gregor
- See Also:
StatisticsReportCommand
-
-
Constructor Summary
Constructors Constructor Description StatisticsReportCommandValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
afterPropertiesSetStatisticsReportDao
getStatisticsReportDao()
getStatisticsReportDaovoid
setStatisticsReportDao(StatisticsReportDao statisticsReportDao)
setStatisticsReportDaoboolean
supports(Class<?> clazz)
void
validate(Object obj, org.springframework.validation.Errors errors)
-
-
-
Method Detail
-
supports
public boolean supports(Class<?> clazz)
- Specified by:
supports
in interfaceorg.springframework.validation.Validator
-
validate
public void validate(Object obj, org.springframework.validation.Errors errors)
- Specified by:
validate
in interfaceorg.springframework.validation.Validator
-
afterPropertiesSet
public void afterPropertiesSet()
afterPropertiesSet
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
-
getStatisticsReportDao
public StatisticsReportDao getStatisticsReportDao()
getStatisticsReportDao
- Returns:
- a
StatisticsReportDao
object.
-
setStatisticsReportDao
public void setStatisticsReportDao(StatisticsReportDao statisticsReportDao)
setStatisticsReportDao
- Parameters:
statisticsReportDao
- aStatisticsReportDao
object.
-
-