org.teatrove.tea.util
Class GenericPropertyDescriptor
java.lang.Object
java.beans.FeatureDescriptor
java.beans.PropertyDescriptor
org.teatrove.tea.util.GenericPropertyDescriptor
public class GenericPropertyDescriptor
- extends PropertyDescriptor
- Author:
- Nick Hagan
GenericPropertyDescriptor
public GenericPropertyDescriptor(PropertyDescriptor property)
throws IntrospectionException
- Throws:
IntrospectionException
GenericPropertyDescriptor
public GenericPropertyDescriptor(GenericType rootType,
PropertyDescriptor property)
throws IntrospectionException
- Throws:
IntrospectionException
getPropertyType
public Class<?> getPropertyType()
- Overrides:
getPropertyType in class PropertyDescriptor
getGenericPropertyType
public GenericType getGenericPropertyType()
resolvePropertyType
protected void resolvePropertyType()
resolvePropertyType0
protected void resolvePropertyType0()
getReadMethod
public Method getReadMethod()
- Overrides:
getReadMethod in class PropertyDescriptor
setReadMethod
public void setReadMethod(Method readMethod)
throws IntrospectionException
- Overrides:
setReadMethod in class PropertyDescriptor
- Throws:
IntrospectionException
getWriteMethod
public Method getWriteMethod()
- Overrides:
getWriteMethod in class PropertyDescriptor
setWriteMethod
public void setWriteMethod(Method writeMethod)
throws IntrospectionException
- Overrides:
setWriteMethod in class PropertyDescriptor
- Throws:
IntrospectionException
isBound
public boolean isBound()
- Overrides:
isBound in class PropertyDescriptor
setBound
public void setBound(boolean bound)
- Overrides:
setBound in class PropertyDescriptor
isConstrained
public boolean isConstrained()
- Overrides:
isConstrained in class PropertyDescriptor
setConstrained
public void setConstrained(boolean constrained)
- Overrides:
setConstrained in class PropertyDescriptor
setPropertyEditorClass
public void setPropertyEditorClass(Class<?> propertyEditorClass)
- Overrides:
setPropertyEditorClass in class PropertyDescriptor
getPropertyEditorClass
public Class<?> getPropertyEditorClass()
- Overrides:
getPropertyEditorClass in class PropertyDescriptor
createPropertyEditor
public PropertyEditor createPropertyEditor(Object bean)
- Overrides:
createPropertyEditor in class PropertyDescriptor
getName
public String getName()
- Overrides:
getName in class FeatureDescriptor
setName
public void setName(String name)
- Overrides:
setName in class FeatureDescriptor
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayName in class FeatureDescriptor
setDisplayName
public void setDisplayName(String displayName)
- Overrides:
setDisplayName in class FeatureDescriptor
isExpert
public boolean isExpert()
- Overrides:
isExpert in class FeatureDescriptor
setExpert
public void setExpert(boolean expert)
- Overrides:
setExpert in class FeatureDescriptor
isHidden
public boolean isHidden()
- Overrides:
isHidden in class FeatureDescriptor
setHidden
public void setHidden(boolean hidden)
- Overrides:
setHidden in class FeatureDescriptor
isPreferred
public boolean isPreferred()
- Overrides:
isPreferred in class FeatureDescriptor
setPreferred
public void setPreferred(boolean preferred)
- Overrides:
setPreferred in class FeatureDescriptor
getShortDescription
public String getShortDescription()
- Overrides:
getShortDescription in class FeatureDescriptor
setShortDescription
public void setShortDescription(String text)
- Overrides:
setShortDescription in class FeatureDescriptor
setValue
public void setValue(String attributeName,
Object value)
- Overrides:
setValue in class FeatureDescriptor
getValue
public Object getValue(String attributeName)
- Overrides:
getValue in class FeatureDescriptor
attributeNames
public Enumeration<String> attributeNames()
- Overrides:
attributeNames in class FeatureDescriptor
toString
public String toString()
- Overrides:
toString in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class PropertyDescriptor
hashCode
public int hashCode()
- Overrides:
hashCode in class PropertyDescriptor
Copyright © 1997-2012 TeaTrove.org. All Rights Reserved.