public static Title getType(int id) { for (Title t : Title.values()) { if (t.id() == id) return t; } return null; }