com.formkiq.server.domain.WorkflowLog Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of formkiq-server Show documentation
Show all versions of formkiq-server Show documentation
Server-side integration for the FormKiQ ios application
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;
}
}