Class AssetAttachmentValidator
java.lang.Object
overit.geocallapp.wfm.orchestrator.assets.rs1.asset.attachment.AssetAttachmentValidator
- All Implemented Interfaces:
Validator<overit.geocallapp.wfm.documents.bl.attachment.BOAttachment>
public class AssetAttachmentValidator
extends Object
implements Validator<overit.geocallapp.wfm.documents.bl.attachment.BOAttachment>
Validator for relation between an asset and an attachment.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AssetAttachmentValidatorvoidsetAssetId(Long assetId) voidvalidate(overit.geocallapp.wfm.documents.bl.attachment.BOAttachment attachment) Validates the provided object according to the implementation's validation rules.
-
Constructor Details
-
AssetAttachmentValidator
public AssetAttachmentValidator()
-
-
Method Details
-
make
-
getAssetId
-
setAssetId
-
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
-