package com.varnernet.gerb4j; /** * Represents the mode of measurement, either in millimeters or inches. */ public enum Mode { /** * Millimeter units. */ MM("millimeter"), /** * Inch units. */ IN("inch"); final String unitName; Mode(final String unitName) { this.unitName = unitName; } final String getUnitName() { return unitName; } }