KickJava   Java API By Example, From Geeks To Geeks.

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


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

12 import java.util.*;
13 import com.daffodilwoods.database.resource.*;
14 import com.daffodilwoods.daffodildb.server.datadictionarysystem.information.*;
15 import java.beans.*;
16 import com.daffodilwoods.daffodildb.server.sql99.utils._Reference;
17 public class _TriggerInfoBeanInfo extends SimpleBeanInfo{
18
19   public _TriggerInfoBeanInfo() {
20   }
21   public PropertyDescriptor[] getPropertyDescriptors() {
22     Vector properties = new Vector();
23     try{
24         properties.add(new PropertyDescriptor("Name",_TriggerInfo.class,"getName",null));
25         properties.add(new PropertyDescriptor("ActionTime",_TriggerInfo.class,"getActionTime",null));
26         properties.add(new PropertyDescriptor("TriggerEvent",_TriggerInfo.class,"getTriggerEvent",null));
27         properties.add(new PropertyDescriptor("ActionOrientation",_TriggerInfo.class,"getActionOrientation",null));
28         properties.add(new PropertyDescriptor("WhenCondition",_TriggerInfo.class,"getWhenCondition",null));
29         properties.add(new PropertyDescriptor("TriggerStatements",_TriggerInfo.class,"getTriggerStatements",null));
30         properties.add(new PropertyDescriptor("OldAlias",_TriggerInfo.class,"getOldAlias",null));
31         properties.add(new PropertyDescriptor("NewAlias",_TriggerInfo.class,"getNewAlias",null));
32
33     }
34     catch(Exception JavaDoc e){
35         e.printStackTrace();
36     }
37     PropertyDescriptor []propertyDescriptor = new PropertyDescriptor[properties.size()];
38     properties.toArray(propertyDescriptor);
39     return propertyDescriptor;
40   }
41
42
43 }
44
Popular Tags