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