Package de.willuhn.jameica.hbci.rmi

Examples of de.willuhn.jameica.hbci.rmi.Address


      {
        public void handleEvent(Event event)
        {
          try
          {
            Address a = (Address) event.data;
            setText(a.getName());
          }
          catch (Exception e)
          {
            Logger.error("unable to apply name",e);
            Application.getMessagingFactory().sendMessage(new StatusBarMessage(i18n.tr("Fehler beim �bernehmen des Namens"),StatusBarMessage.TYPE_ERROR));
View Full Code Here


      if (!(bean instanceof Address))
        return bean.toString();
     
      try
      {
        Address a = (Address) bean;
        StringBuffer sb = new StringBuffer(a.getName());
       
        String blz = a.getBlz();
        if (blz != null && blz.length() > 0)
        {
          sb.append(" - ");
          String bankName = HBCIProperties.getNameForBank(blz);
          if (bankName != null && bankName.length() > 0)
          {
            sb.append(bankName);
          }
          else
          {
            sb.append("BLZ ");
            sb.append(blz);
          }
        }
        String comment = a.getKommentar();
        if (comment != null && comment.length() > 0)
        {
          sb.append(" (");
          sb.append(comment);
          sb.append(")");
View Full Code Here

          return l;
       
        List result = new ArrayList();
        for (int i=0;i<l.size();++i)
        {
          Address a = (Address) l.get(i);
          if (filter == null || filter.accept(a))
            result.add(a);
        }
        return result;
      }
View Full Code Here

TOP

Related Classes of de.willuhn.jameica.hbci.rmi.Address

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.