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

com.formkiq.server.domain.WorkflowLog Maven / Gradle / Ivy

There is a newer version: 0.6.1
Show newest version
package com.formkiq.server.domain;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;

/**
 * Workflow Log domain.
 *
 */
@Entity
@Table(name = "workflow_logs")
public class WorkflowLog {

    /** identifier column. */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "workflow_log_id", unique = true)
    private Integer workflowLogid;

    /** Client ID column. */
    @NotNull
    @Column(name = "client_id", nullable = false)
    private String clientid;

	/** UUID ID column. */
    @NotNull
    @Column(name = "uuid", nullable = false)
    private String uuid;

    /** inserted column. */
    @NotNull
    @Column(name = "inserted_date", nullable = false)
    private Date insertedDate;

	/**
	 * default constructor.
	 */
	public WorkflowLog() {
	}

    /**
     * @return {@link Date}
     */
    public Date getInsertedDate() {
        return this.insertedDate != null ? (Date) this.insertedDate.clone()
                : null;
    }

    /**
     * @param date {@link Date}
     */
    public void setInsertedDate(final Date date) {
        this.insertedDate = date != null ? (Date) date.clone() : null;
    }

    /**
     * @return {@link String}
     */
    public String getClientid() {
        return this.clientid;
    }

    /**
     * @param id {@link String}
     */
    public void setClientid(final String id) {
        this.clientid = id;
    }

    /**
     * @return {@link Integer}
     */
    public Integer getWorkflowLogid() {
        return this.workflowLogid;
    }

    /**
     * @param workflowLog {@link Integer}
     */
    public void setWorkflowLogid(final Integer workflowLog) {
        this.workflowLogid = workflowLog;
    }

    /**
     * @return {@link String}
     */
    public String getUUID() {
        return this.uuid;
    }

    /**
     *
     * @param ident {@link String}
     */
    public void setUUID(final String ident) {
        this.uuid = ident;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy