![JAR search and dependency download from the Maven repository](/logo.png)
com.formkiq.server.domain.ClientFormLog Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of greeting Show documentation
Show all versions of greeting Show documentation
Server-side integration for the FormKiQ ios application
The newest version!
package com.formkiq.server.domain;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;
import com.formkiq.server.domain.type.ClientFormType;
import com.formkiq.server.domain.type.SyncType;
/**
* Form Log domain.
*
*/
@Entity
@Table(name = "client_form_logs")
public class ClientFormLog {
/** identifier column. */
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "log_id", unique = true)
private Integer logid;
/** Client ID column. */
@NotNull
@Column(name = "client_id", nullable = false)
private String clientid;
/** UUID column. */
@NotNull
@Column(name = "uuid", nullable = false)
private String uuid;
/** type column. */
@NotNull
@Enumerated(EnumType.STRING)
@Column(name = "type", nullable = false)
private ClientFormType type;
/** sync type column. */
@NotNull
@Enumerated(EnumType.STRING)
@Column(name = "synctype", nullable = false)
private SyncType synctype;
/** inserted column. */
@NotNull
@Column(name = "inserted_date", nullable = false)
private Date insertedDate;
/**
* default constructor.
*/
public ClientFormLog() {
}
/**
* @return Date
*/
public Date getInsertedDate() {
return this.insertedDate != null ? (Date) this.insertedDate.clone()
: null;
}
/**
* @param date Date
*/
public void setInsertedDate(final Date date) {
this.insertedDate = date != null ? (Date) date.clone() : null;
}
/**
* @return Integer
*/
public Integer getLogid() {
return this.logid;
}
/**
* @param log Integer
*/
public void setLogid(final Integer log) {
this.logid = log;
}
/**
* @return {@link String}
*/
public String getClientid() {
return this.clientid;
}
/**
* @param id String
*/
public void setClientid(final String id) {
this.clientid = id;
}
/**
* @return {@link String}
*/
public String getUUID() {
return this.uuid;
}
/**
* @param id {@link String}
*/
public void setUUID(final String id) {
this.uuid = id;
}
/**
* @return {@link SyncType}
*/
public SyncType getSynctype() {
return this.synctype;
}
/**
* @param sync {@link SyncType}
*/
public void setSynctype(final SyncType sync) {
this.synctype = sync;
}
/**
* @return {@link ClientFormType}
*/
public ClientFormType getType() {
return this.type;
}
/**
* @param formtype {@link ClientFormType}
*/
public void setType(final ClientFormType formtype) {
this.type = formtype;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy