KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test > wsdl > arrays > PersonalInfoBookSOAPBindingImpl


1 /**
2  * PersonalInfoBookSOAPBindingImpl.java
3  *
4  * Hand-modified
5  */

6
7 package test.wsdl.arrays;
8 import java.util.HashMap JavaDoc;
9 import java.util.Map JavaDoc;
10 import java.util.Vector JavaDoc;
11
12 public class PersonalInfoBookSOAPBindingImpl implements test.wsdl.arrays.PersonalInfoBook {
13     private Map JavaDoc table = new HashMap JavaDoc();
14     public void addEntry(java.lang.String JavaDoc name, test.wsdl.arrays.PersonalInfo info) throws java.rmi.RemoteException JavaDoc {
15         this.table.put(name, info);
16     }
17     public test.wsdl.arrays.PersonalInfo getPersonalInfoFromName(java.lang.String JavaDoc name) throws java.rmi.RemoteException JavaDoc {
18         return (test.wsdl.arrays.PersonalInfo) table.get(name);
19     }
20     public Vector JavaDoc getPetsFromName(java.lang.String JavaDoc name) throws java.rmi.RemoteException JavaDoc {
21         return ((test.wsdl.arrays.PersonalInfo) table.get(name)).getPets();
22     }
23     public int[] getIDFromName(java.lang.String JavaDoc name) throws java.rmi.RemoteException JavaDoc {
24         return ((test.wsdl.arrays.PersonalInfo) table.get(name)).getId();
25     }
26     public int getID2FromName(java.lang.String JavaDoc name) throws java.rmi.RemoteException JavaDoc {
27         return ((test.wsdl.arrays.PersonalInfo) table.get(name)).getId2();
28     }
29 }
30
Popular Tags