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