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