@EntityName(value="documentEvent")
@Version(value="0.1.0",
preferImplementationVersion=false,
changelog="Initial release")
public class DocumentEventEntity
extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DocumentEventEntity.KeyAndValue |
static class |
DocumentEventEntity.Status |
| Modifier and Type | Field and Description |
|---|---|
static String |
ENTITY_NAME |
static String |
VERSION |
| Constructor and Description |
|---|
DocumentEventEntity() |
public static final String ENTITY_NAME
public static final String VERSION
public static DocumentEventEntity newlyCreated(@Nullable String sourceNotificationId, String canonicalType, int priority, java.time.ZonedDateTime creationDate, DocumentEventEntity.KeyAndValue... parameters)
public String get_id()
@Identity public void set_id(String _id)
public String getCanonicalType()
@Required public void setCanonicalType(String canonicalType)
public List<DocumentEventEntity.KeyAndValue> getParameters()
@Required @MinItems(value=1) public void setParameters(List<DocumentEventEntity.KeyAndValue> parameters)
public DocumentEventEntity.Status getStatus()
@Required public void setStatus(DocumentEventEntity.Status status)
public java.time.ZonedDateTime getCreationDate()
@Required public void setCreationDate(java.time.ZonedDateTime creationDate)
public java.time.ZonedDateTime getProcessingDate()
public void setProcessingDate(java.time.ZonedDateTime processingDate)
public java.time.ZonedDateTime getProcessedDate()
public void setProcessedDate(java.time.ZonedDateTime processedDate)
public Integer getPriority()
@Required public void setPriority(Integer priority)
public void addSurvivorOfIds(@Nullable Collection<String> ids)
public String getSourceNotificationId()
@Description(value="If this document event was created as a result of notification processing, this is the id of that notification. Document events can also be created either directly or as the result of a merge, and in those cases this will be null.") public void setSourceNotificationId(String sourceNotificationId)
Copyright © 2017. All rights reserved.