org.bidib.wizard.model.status.BinStateValue Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bidibwizard-model Show documentation
Show all versions of bidibwizard-model Show documentation
jBiDiB BiDiB Wizard Model POM
The newest version!
package org.bidib.wizard.model.status;
public enum BinStateValue {
ON(true, "on"), OFF(false, "off");
private final String key;
private final boolean functionValue;
private BinStateValue(boolean functionValue, String key) {
this.functionValue = functionValue;
this.key = key;
}
public boolean getFunctionValue() {
return functionValue;
}
public String getKey() {
return key;
}
}