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

restx.Status Maven / Gradle / Ivy

There is a newer version: 1.2.0-rc2
Show newest version
package restx;

import com.google.common.collect.ImmutableMap;

/**
 * User: xavierhanin
 * Date: 2/13/13
 * Time: 11:34 PM
 */
public final class Status {
    public static final ImmutableMap DELETED = ImmutableMap.of("status", "deleted");

    public static Status of(String status) {
        return new Status(status);
    }

    private String status;

    public Status() {
    }

    public Status(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy