KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > daffodilwoods > rmi > RmiTableInformation


1 package com.daffodilwoods.rmi;
2
3 import java.util.ArrayList JavaDoc;
4 import java.rmi.RemoteException JavaDoc;
5
6 import com.daffodilwoods.daffodildb.server.datadictionarysystem.information._ColumnsInformation;
7 import com.daffodilwoods.database.resource.DException;
8 import com.daffodilwoods.daffodildb.server.datadictionarysystem.information._IndexInfo;
9 import com.daffodilwoods.daffodildb.server.datadictionarysystem.information._IndexInformation;
10 import com.daffodilwoods.daffodildb.server.datadictionarysystem.information._TriggerInformation;
11 import com.daffodilwoods.daffodildb.server.datadictionarysystem.information._ConstraintInformation;
12 import com.daffodilwoods.daffodildb.server.datadictionarysystem.information._TableInformation;
13 import com.daffodilwoods.daffodildb.server.datadictionarysystem.information._FullTextIndexInformation;
14 import com.daffodilwoods.rmi.interfaces.*;
15
16 public class RmiTableInformation implements _TableInformation {
17
18    _RmiTableInformation rmiTableInformation_Interface;
19
20    public RmiTableInformation(_RmiTableInformation rmiTableInformation_Interface) {
21       if (rmiTableInformation_Interface == null) {
22          ;//// Removed By Program ** System.out.println("rmiTableInformation_Interface IS NULL INSIDE THE CONSTRUCTOR OF RmiTableInformation");
23
}
24       this.rmiTableInformation_Interface = rmiTableInformation_Interface;
25
26    }
27
28    public String JavaDoc getQualifiedName() {
29       try {
30          return rmiTableInformation_Interface.getQualifiedName();
31       } catch (RemoteException JavaDoc re) {
32          throw new RuntimeException JavaDoc(re.getMessage());
33       }
34    }
35
36    public ArrayList JavaDoc getAllColumns() {
37       try {
38          return rmiTableInformation_Interface.getAllColumns();
39       } catch (RemoteException JavaDoc re) {
40          throw new RuntimeException JavaDoc(re.getMessage());
41       }
42    }
43
44    public ArrayList JavaDoc getAllIndexes() {
45       try {
46          return rmiTableInformation_Interface.getAllIndexes();
47       } catch (RemoteException JavaDoc re) {
48          throw new RuntimeException JavaDoc(re.getMessage());
49       }
50    }
51
52    public ArrayList JavaDoc getAllFullTextIndexes() {
53       try {
54          return rmiTableInformation_Interface.getAllFullTextIndexes();
55       } catch (RemoteException JavaDoc re) {
56          throw new RuntimeException JavaDoc(re.getMessage());
57       }
58    }
59
60    public ArrayList JavaDoc getAllTriggers() {
61       try {
62          return rmiTableInformation_Interface.getAllTriggers();
63       } catch (RemoteException JavaDoc re) {
64          throw new RuntimeException JavaDoc(re.getMessage());
65       }
66    }
67
68    public ArrayList JavaDoc getAllConstraints() {
69       try {
70          return rmiTableInformation_Interface.getAllConstraints();
71       } catch (RemoteException JavaDoc re) {
72          throw new RuntimeException JavaDoc(re.getMessage());
73       }
74    }
75
76    public _ColumnsInformation getColumnInformation() {
77       try {
78          return rmiTableInformation_Interface.getColumnInformation();
79       } catch (RemoteException JavaDoc re) {
80          throw new RuntimeException JavaDoc(re.getMessage());
81       }
82    }
83
84    public _IndexInformation getIndexInformation() {
85       try {
86          return rmiTableInformation_Interface.getIndexInformation();
87       } catch (RemoteException JavaDoc re) {
88          throw new RuntimeException JavaDoc(re.getMessage());
89       }
90    }
91
92    public _FullTextIndexInformation getFullTextIndexInformation() {
93              try {
94                      return rmiTableInformation_Interface.getFullTextIndexInformation();
95              }catch(RemoteException JavaDoc re ) {
96                      throw new RuntimeException JavaDoc(re.getMessage());
97              }
98    }
99
100    public _TriggerInformation getTriggerInformation() {
101       try {
102          return rmiTableInformation_Interface.getTriggerInformation();
103       } catch (RemoteException JavaDoc re) {
104          throw new RuntimeException JavaDoc(re.getMessage());
105       }
106    }
107
108    public _ConstraintInformation getConstraintInformation() {
109       try {
110          return rmiTableInformation_Interface.getConstraintInformation();
111       } catch (RemoteException JavaDoc re) {
112          throw new RuntimeException JavaDoc(re.getMessage());
113       }
114    }
115
116    public String JavaDoc getName() {
117       try {
118          return rmiTableInformation_Interface.getName();
119       } catch (RemoteException JavaDoc re) {
120          throw new RuntimeException JavaDoc(re.getMessage());
121       }
122    }
123
124    public String JavaDoc getCatalog() {
125       try {
126          return rmiTableInformation_Interface.getCatalog();
127       } catch (RemoteException JavaDoc re) {
128          throw new RuntimeException JavaDoc(re.getMessage());
129       }
130    }
131
132    public String JavaDoc getSchema() {
133       try {
134          return rmiTableInformation_Interface.getSchema();
135       } catch (RemoteException JavaDoc re) {
136          throw new RuntimeException JavaDoc(re.getMessage());
137       }
138    }
139
140    public String JavaDoc getType() {
141       try {
142          return rmiTableInformation_Interface.getType();
143       } catch (RemoteException JavaDoc re) {
144          throw new RuntimeException JavaDoc(re.getMessage());
145       }
146    }
147
148    public String JavaDoc getRemarks() {
149       try {
150          return rmiTableInformation_Interface.getRemarks();
151       } catch (RemoteException JavaDoc re) {
152          throw new RuntimeException JavaDoc(re.getMessage());
153       }
154    }
155 }
156
Popular Tags