Package ipsk.beans

Class ExtBeanInfoImpl

  • All Implemented Interfaces:
    ExtBeanInfo, java.beans.BeanInfo

    public class ExtBeanInfoImpl
    extends java.lang.Object
    implements ExtBeanInfo
    • Constructor Detail

      • ExtBeanInfoImpl

        public ExtBeanInfoImpl​(java.beans.BeanInfo beanInfo)
    • Method Detail

      • getObjectImmutablePropertyDescriptors

        public java.util.Set<java.beans.PropertyDescriptor> getObjectImmutablePropertyDescriptors()
      • setObjectImmutablePropertyDescriptors

        public void setObjectImmutablePropertyDescriptors​(java.util.Set<java.beans.PropertyDescriptor> objectImmutablePropertyDescriptors)
      • getIdValue

        public java.lang.Object getIdValue​(java.lang.Object bean)
                                    throws java.lang.IllegalArgumentException,
                                           java.lang.IllegalAccessException,
                                           java.lang.reflect.InvocationTargetException
        Throws:
        java.lang.IllegalArgumentException
        java.lang.IllegalAccessException
        java.lang.reflect.InvocationTargetException
      • createIdValueByString

        public java.lang.Object createIdValueByString​(java.lang.String idStr)
                                               throws java.lang.SecurityException,
                                                      java.lang.NoSuchMethodException,
                                                      java.lang.IllegalArgumentException,
                                                      java.lang.InstantiationException,
                                                      java.lang.IllegalAccessException,
                                                      java.lang.reflect.InvocationTargetException
        Throws:
        java.lang.SecurityException
        java.lang.NoSuchMethodException
        java.lang.IllegalArgumentException
        java.lang.InstantiationException
        java.lang.IllegalAccessException
        java.lang.reflect.InvocationTargetException
      • getAdditionalBeanInfo

        public java.beans.BeanInfo[] getAdditionalBeanInfo()
        Specified by:
        getAdditionalBeanInfo in interface java.beans.BeanInfo
      • getBeanDescriptor

        public java.beans.BeanDescriptor getBeanDescriptor()
        Specified by:
        getBeanDescriptor in interface java.beans.BeanInfo
      • getDefaultEventIndex

        public int getDefaultEventIndex()
        Specified by:
        getDefaultEventIndex in interface java.beans.BeanInfo
      • getDefaultPropertyIndex

        public int getDefaultPropertyIndex()
        Specified by:
        getDefaultPropertyIndex in interface java.beans.BeanInfo
      • getEventSetDescriptors

        public java.beans.EventSetDescriptor[] getEventSetDescriptors()
        Specified by:
        getEventSetDescriptors in interface java.beans.BeanInfo
      • getIcon

        public java.awt.Image getIcon​(int iconKind)
        Specified by:
        getIcon in interface java.beans.BeanInfo
      • getMethodDescriptors

        public java.beans.MethodDescriptor[] getMethodDescriptors()
        Specified by:
        getMethodDescriptors in interface java.beans.BeanInfo
      • getPropertyDescriptors

        public java.beans.PropertyDescriptor[] getPropertyDescriptors()
        Specified by:
        getPropertyDescriptors in interface java.beans.BeanInfo
      • getIdPropertyDescriptor

        public java.beans.PropertyDescriptor getIdPropertyDescriptor()
      • setIdPropertyDescriptor

        public void setIdPropertyDescriptor​(java.beans.PropertyDescriptor idPropertyDescriptor)
      • setIdGenerated

        public void setIdGenerated​(boolean b)
      • isIdGenerated

        public boolean isIdGenerated()
      • getPreferredDisplayOrder

        public java.lang.String[] getPreferredDisplayOrder()
        Description copied from interface: ExtBeanInfo
        Get the preferred order of the properties to display.
        Specified by:
        getPreferredDisplayOrder in interface ExtBeanInfo
        Returns:
        array of ordered property names
      • getResourceBundleName

        public java.lang.String getResourceBundleName()
        Description copied from interface: ExtBeanInfo
        Get the name of the resource bundle to use.
        Specified by:
        getResourceBundleName in interface ExtBeanInfo
        Returns:
        name of resource bundle
      • setResourceBundleName

        public void setResourceBundleName​(java.lang.String resourceBundleName)
      • setPreferredDisplayOrder

        public void setPreferredDisplayOrder​(java.lang.String[] preferredDisplayOrder)
      • setClassResourceKey

        public void setClassResourceKey​(java.lang.String string)
      • getClassResourceKey

        public java.lang.String getClassResourceKey()
        Description copied from interface: ExtBeanInfo
        Get the resource key for the localized (descriptive) name of bean class.
        Specified by:
        getClassResourceKey in interface ExtBeanInfo
        Returns:
        resource key for class name
      • getPropertyResourceKey

        public java.lang.String getPropertyResourceKey​(java.lang.String propertyName)
        Description copied from interface: ExtBeanInfo
        Returns resource key of bean property.
        Specified by:
        getPropertyResourceKey in interface ExtBeanInfo
        Parameters:
        propertyName - name of property
        Returns:
        resource key or null if not annotated
      • isIdEmbedded

        public boolean isIdEmbedded()
      • setIdEmbedded

        public void setIdEmbedded​(boolean idEmbedded)
      • getEmbeddedIdBeanInfo

        public ExtBeanInfo getEmbeddedIdBeanInfo()
      • setEmbeddedIdBeanInfo

        public void setEmbeddedIdBeanInfo​(ExtBeanInfo embeddedIdBeanInfo)
      • getPersistencePropertyDescriptors

        public java.beans.PropertyDescriptor[] getPersistencePropertyDescriptors()
      • setPersistencePropertyDescriptors

        public void setPersistencePropertyDescriptors​(java.beans.PropertyDescriptor[] persistencePropertyDescriptors)
      • getPersistencePropertyDescriptor

        public java.beans.PropertyDescriptor getPersistencePropertyDescriptor​(java.lang.String name)
      • getClassPluralResourceKey

        public java.lang.String getClassPluralResourceKey()
        Description copied from interface: ExtBeanInfo
        Get the resource key for the localized (descriptive) name of a plural objects of the bean class.
        Specified by:
        getClassPluralResourceKey in interface ExtBeanInfo
        Returns:
        resource key for plural objects of the class
      • setClassPluralResourceKey

        public void setClassPluralResourceKey​(java.lang.String classPluralResourceKey)
      • getPersistencePropertyNames

        public java.util.Set<java.lang.String> getPersistencePropertyNames()
      • getExtPersistencePropertyDescriptors

        public java.util.List<ExtPropertyDescriptor> getExtPersistencePropertyDescriptors()