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