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

ca.gc.aafc.dina.messaging.message.ReportTemplateUploadNotification Maven / Gradle / Ivy

There is a newer version: 0.133
Show newest version
package ca.gc.aafc.dina.messaging.message;

import ca.gc.aafc.dina.messaging.DinaMessage;

import java.util.UUID;
import lombok.Builder;
import lombok.Data;
import lombok.Getter;

/**
 * Indicates that a report-template is uploaded and can be retrieved using the toa.
 */
@Builder
@Data
@Getter
public class ReportTemplateUploadNotification extends DinaMessage {

  public static final String TYPE = "ReportTemplateUploadNotification";

  public ReportTemplateUploadNotification() {
    super(TYPE);
  }

  public ReportTemplateUploadNotification(UUID uuid, String username, String toa) {
    super(TYPE);
    this.uuid = uuid;
    this.username = username;
    this.toa = toa;
  }

  // uuid generated for the report-template
  private UUID uuid;

  private String username;

  // temporary object access
  private String toa;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy