Debian Codegraph @

test/wsdl/arrays/PersonalInfoBookSOAPBindingImpl.java

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