Package gw.lang.reflect
Class TypedPropertyDescriptor
java.lang.Object
java.beans.FeatureDescriptor
java.beans.PropertyDescriptor
gw.lang.reflect.TypedPropertyDescriptor
- All Implemented Interfaces:
IIntrinsicTypeReference
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTypedPropertyDescriptor
(String propertyName, Class beanClass, String getterName, String setterName) Used to construct a property descriptor for extension fields. -
Method Summary
Modifier and TypeMethodDescriptionThe type of this feature e.g., for a property this is the property's type.void
setReadMethod
(Method getter) void
setWriteMethod
(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
Methods inherited from interface gw.lang.reflect.IIntrinsicTypeReference
getAssignableFeatureType
-
Field Details
-
_propertyClass
-
-
Constructor Details
-
TypedPropertyDescriptor
public TypedPropertyDescriptor(String propertyName, Class beanClass, String getterName, String setterName) throws IntrospectionException Used to construct a property descriptor for extension fields.- Throws:
IntrospectionException
-
-
Method Details
-
getPropertyType
- Overrides:
getPropertyType
in classPropertyDescriptor
-
setReadMethod
- Overrides:
setReadMethod
in classPropertyDescriptor
- Throws:
IntrospectionException
-
setWriteMethod
- Overrides:
setWriteMethod
in classPropertyDescriptor
- Throws:
IntrospectionException
-
getFeatureType
Description copied from interface:IIntrinsicTypeReference
The type of this feature e.g., for a property this is the property's type.- Specified by:
getFeatureType
in interfaceIIntrinsicTypeReference
-