Examples of TelephoneNum


Examples of org.oasis.wsrp.v2.TelephoneNum

      String postalCode = infos.get(getPostalUserInfoKey(PostalInfo.POSTALCODE, isBusiness));
      String country = infos.get(getPostalUserInfoKey(PostalInfo.COUNTRY, isBusiness));
      String organization = infos.get(getPostalUserInfoKey(PostalInfo.ORGANIZATION, isBusiness));
      Postal postal = WSRPTypeFactory.createPostal(name, street, city, stateprov, postalCode, country, organization);

      TelephoneNum telephone = createTelephoneNumFrom(infos, TelecomType.TELEPHONE, isBusiness);
      TelephoneNum fax = createTelephoneNumFrom(infos, TelecomType.FAX, isBusiness);
      TelephoneNum mobile = createTelephoneNumFrom(infos, TelecomType.MOBILE, isBusiness);
      TelephoneNum pager = createTelephoneNumFrom(infos, TelecomType.PAGER, isBusiness);
      Telecom telecom = WSRPTypeFactory.createTelecom(telephone, fax, mobile, pager);
     
      Contact contact = WSRPTypeFactory.createContact(postal, telecom, online);

      return contact;
View Full Code Here

Examples of org.oasis.wsrp.v2.TelephoneNum

      String intCode = infos.get(getTelecomInfoKey(type, TelecomInfo.INTCODE, isBusiness));
      String loccode = infos.get(getTelecomInfoKey(type, TelecomInfo.LOCCODE, isBusiness));
      String number = infos.get(getTelecomInfoKey(type, TelecomInfo.NUMBER, isBusiness));
      String ext = infos.get(getTelecomInfoKey(type, TelecomInfo.EXT, isBusiness));
      String comment = infos.get(getTelecomInfoKey(type, TelecomInfo.COMMENT, isBusiness));
      TelephoneNum telephoneNum = WSRPTypeFactory.createTelephoneNum(intCode, loccode, number, ext, comment);

      return telephoneNum;
   }
View Full Code Here

Examples of org.oasis.wsrp.v2.TelephoneNum

   public static Telecom toV2Telecom(V1Telecom v1Telecom)
   {
      if (v1Telecom != null)
      {
         TelephoneNum telephone = toV2TelephoneNum(v1Telecom.getTelephone());
         TelephoneNum fax = toV2TelephoneNum(v1Telecom.getFax());
         TelephoneNum mobile = toV2TelephoneNum(v1Telecom.getMobile());
         TelephoneNum pager = toV2TelephoneNum(v1Telecom.getPager());
         Telecom telecom = WSRPTypeFactory.createTelecom(telephone, fax, mobile, pager);

         List<V1Extension> extensions = v1Telecom.getExtensions();
         if (extensions != null)
         {
View Full Code Here

Examples of org.oasis.wsrp.v2.TelephoneNum

         String intCode = v1TelephoneNum.getIntcode();
         String loccode = v1TelephoneNum.getLoccode();
         String number = v1TelephoneNum.getNumber();
         String ext = v1TelephoneNum.getExt();
         String comment = v1TelephoneNum.getComment();
         TelephoneNum telephoneNum = WSRPTypeFactory.createTelephoneNum(intCode, loccode, number, ext, comment);

         List<V1Extension> extensions = v1TelephoneNum.getExtensions();
         if (extensions != null)
         {
            telephoneNum.getExtensions().addAll(WSRPUtils.transform(extensions, EXTENSION));
         }

         return telephoneNum;
      }
      else
View Full Code Here

Examples of org.oasis.wsrp.v2.TelephoneNum

      return telecom;
   }

   public static TelephoneNum createTelephoneNum(String intCode, String loccode, String number, String ext, String comment)
   {
      TelephoneNum telephoneNum = new TelephoneNum();
      telephoneNum.setIntcode(intCode);
      telephoneNum.setLoccode(loccode);
      telephoneNum.setNumber(number);
      telephoneNum.setExt(ext);
      telephoneNum.setComment(comment);

      return telephoneNum;
   }
View Full Code Here

Examples of org.oasis.wsrp.v2.TelephoneNum

      return telecom;
   }

   public static TelephoneNum createTelephoneNum(String intCode, String loccode, String number, String ext, String comment)
   {
      TelephoneNum telephoneNum = new TelephoneNum();
      telephoneNum.setIntcode(intCode);
      telephoneNum.setLoccode(loccode);
      telephoneNum.setNumber(number);
      telephoneNum.setExt(ext);
      telephoneNum.setComment(comment);

      return telephoneNum;
   }
View Full Code Here

Examples of org.oasis.wsrp.v2.TelephoneNum

      String postalCode = infos.get(getPostalUserInfoKey(PostalInfo.POSTALCODE, isBusiness));
      String country = infos.get(getPostalUserInfoKey(PostalInfo.COUNTRY, isBusiness));
      String organization = infos.get(getPostalUserInfoKey(PostalInfo.ORGANIZATION, isBusiness));
      Postal postal = WSRPTypeFactory.createPostal(name, street, city, stateprov, postalCode, country, organization);

      TelephoneNum telephone = createTelephoneNumFrom(infos, TelecomType.TELEPHONE, isBusiness);
      TelephoneNum fax = createTelephoneNumFrom(infos, TelecomType.FAX, isBusiness);
      TelephoneNum mobile = createTelephoneNumFrom(infos, TelecomType.MOBILE, isBusiness);
      TelephoneNum pager = createTelephoneNumFrom(infos, TelecomType.PAGER, isBusiness);
      Telecom telecom = WSRPTypeFactory.createTelecom(telephone, fax, mobile, pager);
     
      Contact contact = WSRPTypeFactory.createContact(postal, telecom, online);

      return contact;
View Full Code Here

Examples of org.oasis.wsrp.v2.TelephoneNum

      String intCode = infos.get(getTelecomInfoKey(type, TelecomInfo.INTCODE, isBusiness));
      String loccode = infos.get(getTelecomInfoKey(type, TelecomInfo.LOCCODE, isBusiness));
      String number = infos.get(getTelecomInfoKey(type, TelecomInfo.NUMBER, isBusiness));
      String ext = infos.get(getTelecomInfoKey(type, TelecomInfo.EXT, isBusiness));
      String comment = infos.get(getTelecomInfoKey(type, TelecomInfo.COMMENT, isBusiness));
      TelephoneNum telephoneNum = WSRPTypeFactory.createTelephoneNum(intCode, loccode, number, ext, comment);

      return telephoneNum;
   }
View Full Code Here

Examples of org.oasis.wsrp.v2.TelephoneNum

      return telecom;
   }

   public static TelephoneNum createTelephoneNum(String intCode, String loccode, String number, String ext, String comment)
   {
      TelephoneNum telephoneNum = new TelephoneNum();
      telephoneNum.setIntcode(intCode);
      telephoneNum.setLoccode(loccode);
      telephoneNum.setNumber(number);
      telephoneNum.setExt(ext);
      telephoneNum.setComment(comment);

      return telephoneNum;
   }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.