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

net.interfax.rest.client.domain.enums.Disposition Maven / Gradle / Ivy

There is a newer version: 0.2
Show newest version
package net.interfax.rest.client.domain.enums;

public enum Disposition {

    singleUse ("singleUse"),
    multiUse ("multiUse"),
    permanent ("permanent");

    private final String name;

    private Disposition(String s) {
        name = s;
    }

    public boolean equalsName(String otherName) {
        return otherName != null && name.equals(otherName);
    }

    public String toString() {
        return this.name;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy