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

com.sc.base.api.SortDirection Maven / Gradle / Ivy

The newest version!
package com.sc.base.api;

import java.io.Serializable;

public enum SortDirection implements Serializable {
    ASC("ASC"),
    DESC("DESC");

    private String code;

    private SortDirection(String code) {
        this.code = code;
    }

    public String getCode() {
        return this.code;
    }

    @Override
    public String toString() {
        return "[" + this.name() + " = " + this.getCode() + "]";
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy