KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > daffodilwoods > rmi > server > RmiTableInformationServerSide


1 package com.daffodilwoods.rmi.server;
2
3 import java.rmi.server.UnicastRemoteObject JavaDoc;
4 import java.rmi.RemoteException JavaDoc;
5 import java.util.ArrayList JavaDoc;
6
7 import com.daffodilwoods.daffodildb.server.datadictionarysystem.information.*;
8
9 import com.daffodilwoods.rmi.interfaces._RmiTableInformation;
10 import com.daffodilwoods.daffodildb.server.datadictionarysystem.information._TableInformation;
11 import com.daffodilwoods.database.resource.DException;
12
13 public class RmiTableInformationServerSide extends UnicastRemoteObject JavaDoc implements _RmiTableInformation {
14
15    _TableInformation table_information;
16
17    public RmiTableInformationServerSide(_TableInformation table_information) throws RemoteException JavaDoc {
18       super();
19       this.table_information = table_information;
20    }
21
22    public String JavaDoc getQualifiedName() throws RemoteException JavaDoc {
23       try {
24          if (table_information != null) {
25          ;//// Removed By Program ** System.out.println("NOT NULL ");
26
}
27          if (table_information == null) {
28          ;//// Removed By Program ** System.out.println(" NULL ");
29
}
30          return table_information.getQualifiedName();
31       } catch (Exception JavaDoc e) {
32          e.printStackTrace();
33          return null;
34       }
35    }
36
37    public ArrayList JavaDoc getAllColumns() throws RemoteException JavaDoc {
38       try {
39          if (table_information != null) {
40          ;//// Removed By Program ** System.out.println("NOT NULL ");
41
}
42          if (table_information == null) {
43          ;//// Removed By Program ** System.out.println(" NULL ");
44
}
45          return table_information.getAllColumns();
46       } catch (Exception JavaDoc e) {
47          e.printStackTrace();
48          return null;
49       }
50    }
51
52    public ArrayList JavaDoc getAllIndexes() throws RemoteException JavaDoc {
53       return table_information.getAllIndexes();
54    }
55
56    public ArrayList JavaDoc getAllFullTextIndexes() throws RemoteException JavaDoc {
57       return table_information.getAllFullTextIndexes();
58    }
59
60    public ArrayList JavaDoc getAllTriggers() throws RemoteException JavaDoc {
61       return table_information.getAllTriggers();
62    }
63
64    public ArrayList JavaDoc getAllConstraints() throws RemoteException JavaDoc {
65       return table_information.getAllConstraints();
66    }
67
68    public _ColumnsInformation getColumnInformation() throws RemoteException JavaDoc {
69       return table_information.getColumnInformation();
70    }
71
72    public _IndexInformation getIndexInformation() throws RemoteException JavaDoc {
73       return table_information.getIndexInformation();
74    }
75
76    public _FullTextIndexInformation getFullTextIndexInformation() throws RemoteException JavaDoc {
77       return table_information.getFullTextIndexInformation();
78    }
79
80    public _TriggerInformation getTriggerInformation() throws RemoteException JavaDoc {
81       return table_information.getTriggerInformation();
82    }
83
84    public _ConstraintInformation getConstraintInformation() throws RemoteException JavaDoc {
85       return table_information.getConstraintInformation();
86    }
87
88    public String JavaDoc getName() throws RemoteException JavaDoc {
89       return table_information.getName();
90    }
91
92    public String JavaDoc getCatalog() throws RemoteException JavaDoc {
93       return table_information.getCatalog();
94    }
95
96    public String JavaDoc getSchema() throws RemoteException JavaDoc {
97       return table_information.getSchema();
98    }
99
100    public String JavaDoc getType() throws RemoteException JavaDoc {
101       return table_information.getType();
102    }
103
104    public String JavaDoc getRemarks() throws RemoteException JavaDoc {
105       return table_information.getRemarks();
106    }
107 }
108
Popular Tags