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 _RoleInformationBeanInfo extends SimpleBeanInfo{ 18 19 public _RoleInformationBeanInfo() { 20 } 21 22 public PropertyDescriptor[] getPropertyDescriptors() { 23 Vector properties = new Vector(); 24 try{ 25 properties.add(new PropertyDescriptor("Name",_RoleInformation.class,"getName",null)); 26 properties.add(new PropertyDescriptor("Grantor",_RoleInformation.class,"getGrantor",null)); 27 } 28 catch(Exception e){ 29 e.printStackTrace(); 30 } 31 PropertyDescriptor []propertyDescriptor = new PropertyDescriptor[properties.size()]; 32 properties.toArray(propertyDescriptor); 33 return propertyDescriptor; 34 35 } 36 } 37 | Popular Tags |