Package gw.lang.reflect
Class TypedPropertyDescriptor
- java.lang.Object
-
- java.beans.FeatureDescriptor
-
- java.beans.PropertyDescriptor
-
- gw.lang.reflect.TypedPropertyDescriptor
-
- All Implemented Interfaces:
IIntrinsicTypeReference
public class TypedPropertyDescriptor extends java.beans.PropertyDescriptor implements IIntrinsicTypeReference
-
-
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 ITypegetFeatureType()The type of this feature e.g., for a property this is the property's type.java.lang.ClassgetPropertyType()voidsetReadMethod(java.lang.reflect.Method getter)voidsetWriteMethod(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
-
Methods inherited from interface gw.lang.reflect.IIntrinsicTypeReference
getAssignableFeatureType
-
-
-
-
Constructor Detail
-
TypedPropertyDescriptor
public TypedPropertyDescriptor(java.lang.String propertyName, java.lang.Class beanClass, java.lang.String getterName, java.lang.String setterName) throws java.beans.IntrospectionExceptionUsed to construct a property descriptor for extension fields.- Throws:
java.beans.IntrospectionException
-
-
Method Detail
-
getPropertyType
public java.lang.Class getPropertyType()
- Overrides:
getPropertyTypein classjava.beans.PropertyDescriptor
-
setReadMethod
public void setReadMethod(java.lang.reflect.Method getter) throws java.beans.IntrospectionException- Overrides:
setReadMethodin classjava.beans.PropertyDescriptor- Throws:
java.beans.IntrospectionException
-
setWriteMethod
public void setWriteMethod(java.lang.reflect.Method setter) throws java.beans.IntrospectionException- Overrides:
setWriteMethodin classjava.beans.PropertyDescriptor- Throws:
java.beans.IntrospectionException
-
getFeatureType
public IType 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
-
-