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