Package stub.ItemAdminStub

Examples of stub.ItemAdminStub.ChangeProductDescription


     * case 0: i.id = (String) aValue; break;
     */
    case 1:
      try {
        i.setDescription((String) aValue);
        setDescription = new ChangeProductDescription();
        setDescription.setId(i.getId());
        setDescription.setDescription((String) aValue);
        adminStub.changeProductDescription(setDescription);
      } catch (RemoteException e) {
        e.printStackTrace(System.err);
View Full Code Here


      for (int i = 0; i < ppp.length - 1; i++) {
        System.out.println(ppp[i].getId() + ":"
            + ppp[i].getDescription() + "\t: " + ppp[i].getPrice()
            + "\t: " + ppp[i].getLocation());
        if(ppp[i].getDescription().equals("cacat")){
          stub.ItemAdminStub.ChangeProductDescription desc=new ChangeProductDescription();
          desc.setDescription("cacat2");
          desc.setId(ppp[i].getId());
          try {
            s.changeProductDescription(desc);
          } catch (ChangeProductDescriptionFault e) {
            e.printStackTrace(System.err);
          }
View Full Code Here

TOP

Related Classes of stub.ItemAdminStub.ChangeProductDescription

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.