org.bidib.wizard.mvc.stepcontrol.model.AccelarationScaleEnum Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bidibwizard-client Show documentation
Show all versions of bidibwizard-client Show documentation
jBiDiB BiDiB Wizard Client Application POM
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);
}
}