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