2013-08-17 14:16:55 +02:00
|
|
|
package com.sismics.docs.core.event;
|
|
|
|
|
2015-09-06 15:21:20 +02:00
|
|
|
import com.google.common.base.MoreObjects;
|
2013-08-17 14:16:55 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Document created event.
|
|
|
|
*
|
|
|
|
* @author bgamard
|
|
|
|
*/
|
2016-02-21 14:11:17 +01:00
|
|
|
public class DocumentCreatedAsyncEvent extends UserEvent {
|
2013-08-17 14:16:55 +02:00
|
|
|
/**
|
2020-05-17 21:00:01 +02:00
|
|
|
* Document ID.
|
2013-08-17 14:16:55 +02:00
|
|
|
*/
|
2020-05-17 21:00:01 +02:00
|
|
|
private String documentId;
|
|
|
|
|
|
|
|
public String getDocumentId() {
|
|
|
|
return documentId;
|
2013-08-17 14:16:55 +02:00
|
|
|
}
|
|
|
|
|
2020-05-17 21:00:01 +02:00
|
|
|
public void setDocumentId(String documentId) {
|
|
|
|
this.documentId = documentId;
|
2013-08-17 14:16:55 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String toString() {
|
2015-09-06 15:21:20 +02:00
|
|
|
return MoreObjects.toStringHelper(this)
|
2020-05-17 21:00:01 +02:00
|
|
|
.add("documentId", documentId)
|
|
|
|
.toString();
|
2013-08-17 14:16:55 +02:00
|
|
|
}
|
|
|
|
}
|