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 _ReferentialConstraintInfoBeanInfo extends _ConstraintInfoBeanInfo{ 18 19 public _ReferentialConstraintInfoBeanInfo() { 20 } 21 public PropertyDescriptor[] getPropertyDescriptors() { 22 Vector properties = new Vector(); 23 try{ 24 properties.addAll(Arrays.asList(super.getPropertyDescriptors())); 25 properties.add(new PropertyDescriptor("DeleteRule",_ReferentialConstraintInfo.class,"getDelete_Rule",null)); 26 properties.add(new PropertyDescriptor("ReferencedColumns",_ReferentialConstraintInfo.class,"getReferencedColumns",null)); 27 properties.add(new PropertyDescriptor("MatchOption",_ReferentialConstraintInfo.class,"getMatch_Option",null)); 28 properties.add(new PropertyDescriptor("UpdateRule",_ReferentialConstraintInfo.class,"getUpdate_Rule",null)); 29 properties.add(new PropertyDescriptor("ReferencedTable",_ReferentialConstraintInfo.class,"getReferencedTable",null)); 30 properties.add(new PropertyDescriptor("ReferencingColumns",_ReferentialConstraintInfo.class,"getReferencingColumns",null)); 31 32 33 } 34 catch(Exception e){ 35 e.printStackTrace(); 36 } 37 38 PropertyDescriptor []propertyDescriptor = new PropertyDescriptor[properties.size()]; 39 properties.toArray(propertyDescriptor); 40 return propertyDescriptor; 41 } 42 43 } 44 | Popular Tags |