com.go.teatools
Class FeatureDescription

java.lang.Object
  |
  +--com.go.teatools.FeatureDescription
Direct Known Subclasses:
MethodDescription, ParameterDescription, PropertyDescription, TypeDescription

public abstract class FeatureDescription
extends java.lang.Object

Version:
1 , 11/09/00
Author:
Mark Masse

Constructor Summary
FeatureDescription(TeaToolsUtils utils)
           
 
Method Summary
 java.lang.String getDescription()
          Returns the shortDescription or "" if the shortDescription is the same as the displayName.
 java.lang.String getDescriptionFirstSentence()
          Returns the first sentence of the shortDescription.
abstract  java.beans.FeatureDescriptor getFeatureDescriptor()
          Returns the FeatureDescriptor that is wrapped by this FeatureDescription
abstract  java.lang.String getLongFormat()
          Returns a long format String for this FeatureDescription
 java.lang.String getName()
          Returns the feature name
abstract  java.lang.String getShortFormat()
          Returns a short format String for this FeatureDescription
 TeaToolsUtils getTeaToolsUtils()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FeatureDescription

public FeatureDescription(TeaToolsUtils utils)
Method Detail

getTeaToolsUtils

public TeaToolsUtils getTeaToolsUtils()

getName

public java.lang.String getName()
Returns the feature name

getDescription

public java.lang.String getDescription()
Returns the shortDescription or "" if the shortDescription is the same as the displayName.

getDescriptionFirstSentence

public java.lang.String getDescriptionFirstSentence()
Returns the first sentence of the shortDescription. Returns "" if the shortDescription is the same as the displayName (the default for reflection-generated FeatureDescriptors).

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getFeatureDescriptor

public abstract java.beans.FeatureDescriptor getFeatureDescriptor()
Returns the FeatureDescriptor that is wrapped by this FeatureDescription

getShortFormat

public abstract java.lang.String getShortFormat()
Returns a short format String for this FeatureDescription

getLongFormat

public abstract java.lang.String getLongFormat()
Returns a long format String for this FeatureDescription