protected static Bool getByValue(final Short value) { for (final Bool type : Bool.values()) { if (value == type.value) return type; } return Bool.INVALID; }