1 package com.daffodilwoods.rmi; 2 3 import java.util.ArrayList ; 4 import java.rmi.RemoteException ; 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 ; } 24 this.rmiTableInformation_Interface = rmiTableInformation_Interface; 25 26 } 27 28 public String getQualifiedName() { 29 try { 30 return rmiTableInformation_Interface.getQualifiedName(); 31 } catch (RemoteException re) { 32 throw new RuntimeException (re.getMessage()); 33 } 34 } 35 36 public ArrayList getAllColumns() { 37 try { 38 return rmiTableInformation_Interface.getAllColumns(); 39 } catch (RemoteException re) { 40 throw new RuntimeException (re.getMessage()); 41 } 42 } 43 44 public ArrayList getAllIndexes() { 45 try { 46 return rmiTableInformation_Interface.getAllIndexes(); 47 } catch (RemoteException re) { 48 throw new RuntimeException (re.getMessage()); 49 } 50 } 51 52 public ArrayList getAllFullTextIndexes() { 53 try { 54 return rmiTableInformation_Interface.getAllFullTextIndexes(); 55 } catch (RemoteException re) { 56 throw new RuntimeException (re.getMessage()); 57 } 58 } 59 60 public ArrayList getAllTriggers() { 61 try { 62 return rmiTableInformation_Interface.getAllTriggers(); 63 } catch (RemoteException re) { 64 throw new RuntimeException (re.getMessage()); 65 } 66 } 67 68 public ArrayList getAllConstraints() { 69 try { 70 return rmiTableInformation_Interface.getAllConstraints(); 71 } catch (RemoteException re) { 72 throw new RuntimeException (re.getMessage()); 73 } 74 } 75 76 public _ColumnsInformation getColumnInformation() { 77 try { 78 return rmiTableInformation_Interface.getColumnInformation(); 79 } catch (RemoteException re) { 80 throw new RuntimeException (re.getMessage()); 81 } 82 } 83 84 public _IndexInformation getIndexInformation() { 85 try { 86 return rmiTableInformation_Interface.getIndexInformation(); 87 } catch (RemoteException re) { 88 throw new RuntimeException (re.getMessage()); 89 } 90 } 91 92 public _FullTextIndexInformation getFullTextIndexInformation() { 93 try { 94 return rmiTableInformation_Interface.getFullTextIndexInformation(); 95 }catch(RemoteException re ) { 96 throw new RuntimeException (re.getMessage()); 97 } 98 } 99 100 public _TriggerInformation getTriggerInformation() { 101 try { 102 return rmiTableInformation_Interface.getTriggerInformation(); 103 } catch (RemoteException re) { 104 throw new RuntimeException (re.getMessage()); 105 } 106 } 107 108 public _ConstraintInformation getConstraintInformation() { 109 try { 110 return rmiTableInformation_Interface.getConstraintInformation(); 111 } catch (RemoteException re) { 112 throw new RuntimeException (re.getMessage()); 113 } 114 } 115 116 public String getName() { 117 try { 118 return rmiTableInformation_Interface.getName(); 119 } catch (RemoteException re) { 120 throw new RuntimeException (re.getMessage()); 121 } 122 } 123 124 public String getCatalog() { 125 try { 126 return rmiTableInformation_Interface.getCatalog(); 127 } catch (RemoteException re) { 128 throw new RuntimeException (re.getMessage()); 129 } 130 } 131 132 public String getSchema() { 133 try { 134 return rmiTableInformation_Interface.getSchema(); 135 } catch (RemoteException re) { 136 throw new RuntimeException (re.getMessage()); 137 } 138 } 139 140 public String getType() { 141 try { 142 return rmiTableInformation_Interface.getType(); 143 } catch (RemoteException re) { 144 throw new RuntimeException (re.getMessage()); 145 } 146 } 147 148 public String getRemarks() { 149 try { 150 return rmiTableInformation_Interface.getRemarks(); 151 } catch (RemoteException re) { 152 throw new RuntimeException (re.getMessage()); 153 } 154 } 155 } 156 | Popular Tags |