public SRowAccountByNumber(int mask, SAccount account) { super( new int[] {account.getAccountId()}, SAccountUtils.convertCodeUsr(mask, account.getCodeStd()), account.getName()); moAccount = account; }
@Override public Object getRowValueAt(int col) { Object value = null; switch (col) { case 0: value = msRowCode; break; case 1: value = msRowName; break; case 2: value = moAccount.isDeleted(); break; default: } return value; }