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

org.bidib.wizard.mvc.stepcontrol.model.AccelarationScaleEnum Maven / Gradle / Ivy

There is a newer version: 2.0.29
Show newest version
package org.bidib.wizard.mvc.stepcontrol.model;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

public enum AccelarationScaleEnum {

    scale0_1("scale0_1", 10), scale1("scale1", 1);

    private final String key;

    private final int divisor;

    private AccelarationScaleEnum(String key, int divisor) {
        this.key = key;
        this.divisor = divisor;
    }

    public String getKey() {
        return key;
    }

    /**
     * @return the divisor
     */
    public int getDivisor() {
        return divisor;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy