KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > daffodilwoods > daffodildb > server > datadictionarysystem > information > _ProcedureInformationBeanInfo


1 package com.daffodilwoods.daffodildb.server.datadictionarysystem.information;
2
3
4 /**
5  * <p>Title: </p>
6  * <p>Description: </p>
7  * <p>Copyright: Copyright (c) 2002</p>
8  * <p>Company: </p>
9  * @author unascribed
10  * @version 1.0
11  */

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 JavaDoc 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