1 package com.daffodilwoods.daffodildb.server.datadictionarysystem.information; 2 3 4 12 import java.util.*; 13 import com.daffodilwoods.database.resource.*; 14 import java.beans.*; 15 import com.daffodilwoods.daffodildb.server.datadictionarysystem.information.*; 16 import com.daffodilwoods.daffodildb.server.sql99.utils._Reference; 17 public class _ProcedureInformationBeanInfo extends SimpleBeanInfo { 18 19 public _ProcedureInformationBeanInfo() { 20 } 21 22 public PropertyDescriptor[] getPropertyDescriptors() { 23 Vector properties = new Vector(); 24 try{ 25 properties.add(new PropertyDescriptor("Name",_ProcedureInformation.class,"getName",null)); 26 properties.add(new PropertyDescriptor("Catalog",_ProcedureInformation.class,"getCatalog",null)); 27 properties.add(new PropertyDescriptor("Schema",_ProcedureInformation.class,"getSchema",null)); 28 properties.add(new PropertyDescriptor("SpecificName",_ProcedureInformation.class,"getSpecificName",null)); 29 properties.add(new PropertyDescriptor("Language",_ProcedureInformation.class,"getLanguage",null)); 30 properties.add(new PropertyDescriptor("ResultType",_ProcedureInformation.class,"getResultType",null)); 31 properties.add(new PropertyDescriptor("RoutineType",_ProcedureInformation.class,"getRoutineType",null)); 32 properties.add(new PropertyDescriptor("ProcedureParameters",_ProcedureInformation.class,"getProcedureParameters",null)); 33 properties.add(new PropertyDescriptor("ProcedureQuery",_ProcedureInformation.class,"getProcedureQuery",null)); 34 } 35 catch(Exception e){ 36 e.printStackTrace(); 37 } 38 39 PropertyDescriptor []propertyDescriptor = new PropertyDescriptor[properties.size()]; 40 properties.toArray(propertyDescriptor); 41 return propertyDescriptor; 42 } 43 } 44 | Popular Tags |