1 package com.daffodilwoods.daffodildb.server.datadictionarysystem.information; 2 3 import java.util.*; 4 import com.daffodilwoods.database.resource.*; 5 6 import java.beans.*; 7 import com.daffodilwoods.daffodildb.server.sql99.utils._Reference; 8 public class _ConstraintInfoBeanInfo extends SimpleBeanInfo { 9 10 public _ConstraintInfoBeanInfo() { 11 } 12 public PropertyDescriptor[] getPropertyDescriptors() { 13 Vector properties = new Vector(); 14 try{ 15 properties.add(new PropertyDescriptor("Name",_ConstraintInfo.class,"getName",null)); 16 properties.add(new PropertyDescriptor("Type",_ConstraintInfo.class,"getType",null)); 17 properties.add(new PropertyDescriptor("Deferrability",_ConstraintInfo.class,"getDeferrability",null)); 18 } 19 catch(Exception e){ 20 e.printStackTrace(); 21 } 22 23 PropertyDescriptor []propertyDescriptor = new PropertyDescriptor[properties.size()]; 24 properties.toArray(propertyDescriptor); 25 return propertyDescriptor; 26 } 27 28 29 } 30 | Popular Tags |