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

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

package com.formkiq.server.domain;

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

/**
 * System Properties Domain.
 *
 */
@Entity
@Table(name = "system_properties")
public class SystemProperty {

    /** key column. */
    @Id
    @NotNull
    @Column(name = "key", nullable = false)
    private String key;

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

    /**
     * constructor.
     */
    public SystemProperty() {
    }

    /**
     * constructor.
     * @param str1 {@link String}
     * @param str2 {@link String}
     */
    public SystemProperty(final String str1, final String str2) {
        this.key = str1;
        this.value = str2;
    }

    /**
     * @return {@link String}
     */
    public String getKey() {
        return this.key;
    }

    /**
     * @param string {@link String}
     */
    public void setKey(final String string) {
        this.key = string;
    }

    /**
     * @return {@link String}
     */
    public String getValue() {
        return this.value;
    }

    /**
     * @param string {@link String}
     */
    public void setValue(final String string) {
        this.value = string;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy