com.go.teatools
Class ParameterDescription

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

public class ParameterDescription
extends FeatureDescription

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

Constructor Summary
ParameterDescription(TypeDescription type, java.beans.ParameterDescriptor pd, TeaToolsUtils utils)
          Creates a new ParameterDescription
 
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.lang.String getName()
          Returns the formal param name, or null if the formal name is not available.
 java.beans.ParameterDescriptor getParameterDescriptor()
          Returns the ParameterDescriptor
 java.lang.String getShortFormat()
          Returns a short format String for this FeatureDescription
 TypeDescription getType()
          Returns the parameter's type
 
Methods inherited from class com.go.teatools.FeatureDescription
getDescription, getDescriptionFirstSentence, getTeaToolsUtils, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParameterDescription

public ParameterDescription(TypeDescription type,
                            java.beans.ParameterDescriptor pd,
                            TeaToolsUtils utils)
Creates a new ParameterDescription
Method Detail

getType

public TypeDescription getType()
Returns the parameter's type

getParameterDescriptor

public java.beans.ParameterDescriptor getParameterDescriptor()
Returns the ParameterDescriptor

getName

public java.lang.String getName()
Returns the formal param name, or null if the formal name is not available.
Overrides:
getName in class FeatureDescription

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