liquibase.hub.model.OperationEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of liquibase-core Show documentation
Show all versions of liquibase-core Show documentation
Liquibase is a tool for managing and executing database changes.
package liquibase.hub.model;
import java.util.Date;
import java.util.UUID;
public class OperationEvent implements HubModel {
private UUID id;
private String eventType;
private Date startDate;
private Date endDate;
private OperationEventLog operationEventLog;
private OperationEventStatus operationEventStatus;
public OperationEvent() {
}
@Override
public UUID getId() {
return id;
}
public OperationEvent setId(UUID id) {
this.id = id;
return this;
}
public String getEventType() {
return eventType;
}
public OperationEvent setEventType(String eventType) {
this.eventType = eventType;
return this;
}
public Date getStartDate() {
return startDate;
}
public OperationEvent setStartDate(Date startDate) {
this.startDate = startDate;
return this;
}
public Date getEndDate() {
return endDate;
}
public OperationEvent setEndDate(Date endDate) {
this.endDate = endDate;
return this;
}
public OperationEventLog getOperationEventLog() {
return operationEventLog;
}
public OperationEvent setOperationEventLog(OperationEventLog operationEventLog) {
this.operationEventLog = operationEventLog;
return this;
}
public OperationEventStatus getOperationEventStatus() {
return operationEventStatus;
}
public OperationEvent setOperationEventStatus(OperationEventStatus operationEventStatus) {
this.operationEventStatus = operationEventStatus;
return this;
}
public static class OperationEventLog implements HubModel {
private UUID id;
private String logMessage;
private Date createDate;
private Date timestampLog;
@Override
public UUID getId() {
return id;
}
public OperationEventLog setId(UUID id) {
this.id = id;
return this;
}
public String getLogMessage() {
return logMessage;
}
public OperationEventLog setLogMessage(String logMessage) {
this.logMessage = logMessage;
return this;
}
public Date getCreateDate() {
return createDate;
}
public OperationEventLog setCreateDate(Date createDate) {
this.createDate = createDate;
return this;
}
public Date getTimestampLog() {
return timestampLog;
}
public OperationEventLog setTimestampLog(Date timestampLog) {
this.timestampLog = timestampLog;
return this;
}
}
public static class OperationEventStatus implements HubModel {
private UUID id;
private String operationEventStatusType;
private String statusMessage;
@Override
public UUID getId() {
return id;
}
public OperationEventStatus setId(UUID id) {
this.id = id;
return this;
}
public String getOperationEventStatusType() {
return operationEventStatusType;
}
public OperationEventStatus setOperationEventStatusType(String operationEventStatusType) {
this.operationEventStatusType = operationEventStatusType;
return this;
}
public String getStatusMessage() {
return statusMessage;
}
public OperationEventStatus setStatusMessage(String statusMessage) {
this.statusMessage = statusMessage;
return this;
}
}
}