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.voidsetReadMethod(Method getter) voidsetWriteMethod(Method setter) Methods inherited from class java.beans.PropertyDescriptor
createPropertyEditor, equals, getPropertyEditorClass, getReadMethod, getWriteMethod, hashCode, isBound, isConstrained, setBound, setConstrained, setPropertyEditorClassMethods inherited from class java.beans.FeatureDescriptor
attributeNames, getDisplayName, getName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setDisplayName, setExpert, setHidden, setName, setPreferred, setShortDescription, setValue, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
getPropertyTypein classPropertyDescriptor
-
setReadMethod
- Overrides:
setReadMethodin classPropertyDescriptor- Throws:
IntrospectionException
-
setWriteMethod
- Overrides:
setWriteMethodin classPropertyDescriptor- Throws:
IntrospectionException
-
getFeatureType
Description copied from interface:IIntrinsicTypeReferenceThe type of this feature e.g., for a property this is the property's type.- Specified by:
getFeatureTypein interfaceIIntrinsicTypeReference
-