Class AccountAttachmentValidator
java.lang.Object
overit.geocallapp.wfm.orchestrator.assets.rs1.account.attachment.AccountAttachmentValidator
- All Implemented Interfaces:
Validator<overit.geocallapp.wfm.documents.bl.attachment.BOAttachment>
public class AccountAttachmentValidator
extends Object
implements Validator<overit.geocallapp.wfm.documents.bl.attachment.BOAttachment>
Validator for relation between an account and an attachment.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AccountAttachmentValidatorvoidsetAccountId(Long accountId) voidvalidate(overit.geocallapp.wfm.documents.bl.attachment.BOAttachment attachment) Validates the provided object according to the implementation's validation rules.
-
Constructor Details
-
AccountAttachmentValidator
public AccountAttachmentValidator()
-
-
Method Details
-
make
-
getAccountId
-
setAccountId
-
validate
public void validate(overit.geocallapp.wfm.documents.bl.attachment.BOAttachment attachment) throws DAValidateException Description copied from interface:ValidatorValidates the provided object according to the implementation's validation rules.- Specified by:
validatein interfaceValidator<overit.geocallapp.wfm.documents.bl.attachment.BOAttachment>- Parameters:
attachment- the object to validate- Throws:
DAValidateException- if the object fails validation
-