Class NonEmptySingleFileGroupValidator
- java.lang.Object
-
- de.xima.cmn.validation.constraintvalidators.util.AValidateGroupValidator<NonEmptySingleFileGroup,NonEmptySingleFile,Object,SingleFile>
-
- de.xima.fc.workflow.validation.constraintvalidators.NonEmptySingleFileGroupValidator
-
- All Implemented Interfaces:
de.xima.cmn.validation.spec.IGroupValidator<NonEmptySingleFileGroup,NonEmptySingleFile,Object,SingleFile>
,de.xima.cmn.validation.spec.IProxiedValidator<NonEmptySingleFileGroup,NonEmptySingleFile,Object,SingleFile>
,javax.validation.ConstraintValidator<NonEmptySingleFileGroup,Object>
public class NonEmptySingleFileGroupValidator extends de.xima.cmn.validation.constraintvalidators.util.AValidateGroupValidator<NonEmptySingleFileGroup,NonEmptySingleFile,Object,SingleFile>
Backing validator forNonEmptySingleFileGroup
.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description NonEmptySingleFileGroupValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<? extends NonEmptySingleFile>
getConstraintClass()
Class<? extends SingleFile>
getFieldClass()
Class<NonEmptySingleFileGroup>
getSelfClass()
Class<Object>
getTypeClass()
protected boolean
validate(SingleFile value, javax.validation.ConstraintValidatorContext context)
-
-
-
Method Detail
-
getConstraintClass
public Class<? extends NonEmptySingleFile> getConstraintClass()
- Specified by:
getConstraintClass
in interfacede.xima.cmn.validation.spec.IProxiedValidator<NonEmptySingleFileGroup,NonEmptySingleFile,Object,SingleFile>
- Specified by:
getConstraintClass
in classde.xima.cmn.validation.constraintvalidators.util.AValidateGroupValidator<NonEmptySingleFileGroup,NonEmptySingleFile,Object,SingleFile>
-
getFieldClass
public Class<? extends SingleFile> getFieldClass()
- Specified by:
getFieldClass
in interfacede.xima.cmn.validation.spec.IProxiedValidator<NonEmptySingleFileGroup,NonEmptySingleFile,Object,SingleFile>
- Specified by:
getFieldClass
in classde.xima.cmn.validation.constraintvalidators.util.AValidateGroupValidator<NonEmptySingleFileGroup,NonEmptySingleFile,Object,SingleFile>
-
getSelfClass
public Class<NonEmptySingleFileGroup> getSelfClass()
-
validate
protected boolean validate(SingleFile value, javax.validation.ConstraintValidatorContext context)
- Specified by:
validate
in classde.xima.cmn.validation.constraintvalidators.util.AValidateGroupValidator<NonEmptySingleFileGroup,NonEmptySingleFile,Object,SingleFile>
-
-