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

liquibase.hub.model.OperationEvent Maven / Gradle / Ivy

There is a newer version: 4.29.2
Show newest version
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;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy