com.go.teatools
Class PropertyDescription

java.lang.Object
  |
  +--com.go.teatools.FeatureDescription
        |
        +--com.go.teatools.PropertyDescription

public class PropertyDescription
extends FeatureDescription

Wrapper for a PropertyDescriptor object.

Version:
2 , 11/13/00
Author:
Mark Masse

Constructor Summary
PropertyDescription(java.beans.PropertyDescriptor pd, TeaToolsUtils utils)
          Creates a new PropertyDescription
 
Method Summary
 java.beans.FeatureDescriptor getFeatureDescriptor()
          Returns the FeatureDescriptor that is wrapped by this FeatureDescription
 java.lang.String getLongFormat()
          Returns a long format String for this FeatureDescription
 java.beans.PropertyDescriptor getPropertyDescriptor()
          Returns the PropertyDescriptor
 java.lang.String getShortFormat()
          Returns a short format String for this FeatureDescription
 TypeDescription getType()
          Returns the property's type
 
Methods inherited from class com.go.teatools.FeatureDescription
getDescription, getDescriptionFirstSentence, getName, getTeaToolsUtils, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyDescription

public PropertyDescription(java.beans.PropertyDescriptor pd,
                           TeaToolsUtils utils)
Creates a new PropertyDescription
Method Detail

getType

public TypeDescription getType()
Returns the property's type

getPropertyDescriptor

public java.beans.PropertyDescriptor getPropertyDescriptor()
Returns the PropertyDescriptor

getFeatureDescriptor

public java.beans.FeatureDescriptor getFeatureDescriptor()
Description copied from class: FeatureDescription
Returns the FeatureDescriptor that is wrapped by this FeatureDescription
Overrides:
getFeatureDescriptor in class FeatureDescription

getShortFormat

public java.lang.String getShortFormat()
Description copied from class: FeatureDescription
Returns a short format String for this FeatureDescription
Overrides:
getShortFormat in class FeatureDescription

getLongFormat

public java.lang.String getLongFormat()
Description copied from class: FeatureDescription
Returns a long format String for this FeatureDescription
Overrides:
getLongFormat in class FeatureDescription