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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy