예제 #1
0
 public SRowAccountByNumber(int mask, SAccount account) {
   super(
       new int[] {account.getAccountId()},
       SAccountUtils.convertCodeUsr(mask, account.getCodeStd()),
       account.getName());
   moAccount = account;
 }
예제 #2
0
  @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;
  }