public boolean contains(String name) { boolean result = false; for (TransactionTypes type : TransactionTypes.values()) { if (type.toString().equalsIgnoreCase(name)) { result = true; break; } } return result; }
@Override public Object getCellValue(Object element) { ITransaction transaction = (ITransaction) element; Transaction t = transaction.getNative(); return TransactionTypes.getTransactionType(t); }