ARoad0.AcsAddon.Accbee.MySQL.gBaseBeanInfo
Class BasesSetMySQLImplBeanInfo

java.lang.Object
  extended by java.beans.SimpleBeanInfo
      extended by ARoad0.gBaseBeanInfo.BasicImplBeanInfo
          extended by ARoad0.gBaseBeanInfo.ResourceImplBeanInfo
              extended by ARoad0.AcsAddon.Accbee.MySQL.gBaseBeanInfo.BasesSetMySQLImplBeanInfo
All Implemented Interfaces:
BeanInfoPattern, java.beans.BeanInfo

public class BasesSetMySQLImplBeanInfo
extends ResourceImplBeanInfo

This class is responsible for describing the BasesSetMySQLImpl class. It adds a property descriptor for the BasesSetMySQL property 'ConnectedDatabases', and uses the event 'InheritedTargetAclEntries' for the ResourceImpl method getM_PrimaryTargetACLRights(). Change a panel group name to the property 'AclRights' to describe the MySQL ACLs. Remove the Basic tab 'Alias' and the Resource 'M_ConstrainedChildACS' property. Change the property descriptor of 'ParentNode' in ' ACL Inheritance '.


Field Summary
 
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
 
Constructor Summary
BasesSetMySQLImplBeanInfo()
           
 
Method Summary
 java.beans.BeanDescriptor getBeanDescriptor()
          Get the description of the bean.
 java.beans.PropertyDescriptor[] getPropertyDescriptors()
          Adds a property descriptor for the BasesSetMySQLImpl the properties 'Parent Node' (for the constructor only, not the beamer) and 'ConnectedDatabases' to replace the ResourceMySQL property 'InheritedTargetAclEntries'.
 
Methods inherited from class ARoad0.gBaseBeanInfo.ResourceImplBeanInfo
getBaseBeanManagerBoundProperty, getBaseBeanManagerGetMethod, getBaseBeanManagerInstance, getCommonBeanDescriptor
 
Methods inherited from class java.beans.SimpleBeanInfo
getAdditionalBeanInfo, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, loadImage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.beans.BeanInfo
getAdditionalBeanInfo, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors
 

Constructor Detail

BasesSetMySQLImplBeanInfo

public BasesSetMySQLImplBeanInfo()
Method Detail

getBeanDescriptor

public java.beans.BeanDescriptor getBeanDescriptor()
Get the description of the bean. Specific values are set in the descriptor. There is no method to change the class of a BeanDescriptor, so, to reuse the BeanInfo of the mother class, the values are copied in a new BeanDescriptor. Copy all the changes done in ResourceMySQLImplBeanInfo, since it is not its superclass.

Specified by:
getBeanDescriptor in interface java.beans.BeanInfo
Overrides:
getBeanDescriptor in class ResourceImplBeanInfo
Returns:
the bean descriptor

getPropertyDescriptors

public java.beans.PropertyDescriptor[] getPropertyDescriptors()
Adds a property descriptor for the BasesSetMySQLImpl the properties 'Parent Node' (for the constructor only, not the beamer) and 'ConnectedDatabases' to replace the ResourceMySQL property 'InheritedTargetAclEntries'. Calls ResourceMySQLImplBeanInfo.getResourceMySQLPropertyDescriptors() with the super method as argument.

Specified by:
getPropertyDescriptors in interface java.beans.BeanInfo
Overrides:
getPropertyDescriptors in class ResourceImplBeanInfo
Returns:
array of property descriptors