Class TypedPropertyDescriptor

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.Class _propertyClass  
    • Constructor Summary

      Constructors 
      Constructor Description
      TypedPropertyDescriptor​(java.lang.String propertyName, java.lang.Class beanClass, java.lang.String getterName, java.lang.String setterName)
      Used to construct a property descriptor for extension fields.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      IType getFeatureType()
      The type of this feature e.g., for a property this is the property's type.
      java.lang.Class getPropertyType()  
      void setReadMethod​(java.lang.reflect.Method getter)  
      void setWriteMethod​(java.lang.reflect.Method setter)  
      • Methods inherited from class java.beans.PropertyDescriptor

        createPropertyEditor, equals, getPropertyEditorClass, getReadMethod, getWriteMethod, hashCode, isBound, isConstrained, setBound, setConstrained, setPropertyEditorClass
      • Methods inherited from class java.beans.FeatureDescriptor

        attributeNames, getDisplayName, getName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setDisplayName, setExpert, setHidden, setName, setPreferred, setShortDescription, setValue, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • _propertyClass

        private java.lang.Class _propertyClass
    • Constructor Detail

      • TypedPropertyDescriptor

        public TypedPropertyDescriptor​(java.lang.String propertyName,
                                       java.lang.Class beanClass,
                                       java.lang.String getterName,
                                       java.lang.String setterName)
                                throws java.beans.IntrospectionException
        Used to construct a property descriptor for extension fields.
        Throws:
        java.beans.IntrospectionException
    • Method Detail

      • getPropertyType

        public java.lang.Class getPropertyType()
        Overrides:
        getPropertyType in class java.beans.PropertyDescriptor
      • setReadMethod

        public void setReadMethod​(java.lang.reflect.Method getter)
                           throws java.beans.IntrospectionException
        Overrides:
        setReadMethod in class java.beans.PropertyDescriptor
        Throws:
        java.beans.IntrospectionException
      • setWriteMethod

        public void setWriteMethod​(java.lang.reflect.Method setter)
                            throws java.beans.IntrospectionException
        Overrides:
        setWriteMethod in class java.beans.PropertyDescriptor
        Throws:
        java.beans.IntrospectionException