com.formkiq.server.domain.Form 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 com.fasterxml.jackson.annotation.JsonProperty;
/**
* Form JSON domain.
*
*/
public class Form {
/** Form UUID. */
private String uuid;
/** Inserted Date. */
@JsonProperty("inserted_date")
private Date insertedDate;
/** Parent UUID. */
@JsonProperty("parent_uuid")
private String parentUUID;
/** Updated Date. */
@JsonProperty("updated_date")
private Date updatedDate;
/**
* default constructor.
*/
public Form() {
}
/**
* @return {@link String}
*/
public String getUUID() {
return this.uuid;
}
/**
* @param id {@link String}
*/
public void setUUID(final String id) {
this.uuid = id;
}
/**
* @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 Date}
*/
public Date getUpdatedDate() {
return this.updatedDate != null ? (Date) this.updatedDate.clone()
: null;
}
/**
* @param date {@link Date}
*/
public void setUpdatedDate(final Date date) {
this.updatedDate = date != null ? (Date) date.clone() : null;
}
/**
* @return {@link String}
*/
public String getParentUUID() {
return this.parentUUID;
}
/**
* @param id {@link String}
*/
public void setParentUUID(final String id) {
this.parentUUID = id;
}
}