All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.tiogasolutions.notify.pub.attachment.AttachmentQuery Maven / Gradle / Ivy

There is a newer version: 5.1.4
Show newest version
package org.tiogasolutions.notify.pub.attachment;

import org.tiogasolutions.notify.pub.notification.Notification;

/**
 * User: Harlan
 * Date: 2/8/2015
 * Time: 12:28 AM
 */
public class AttachmentQuery {
    private String notificationId;
    private String attachmentName;
    private int limit = 100;

    public AttachmentQuery forNotification(Notification notification) {
        this.notificationId = notification.getNotificationId();
        return this;
    }

    public String getNotificationId() {
        return notificationId;
    }

    public AttachmentQuery setNotificationId(String notificationId) {
        this.notificationId = notificationId;
        return this;
    }

    public String getAttachmentName() {
        return attachmentName;
    }

    public AttachmentQuery setAttachmentName(String attachmentName) {
        this.attachmentName = attachmentName;
        return this;
    }

    public int getLimit() {
        return limit;
    }

    public AttachmentQuery setLimit(int limit) {
        this.limit = limit;
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy