org.codehaus.metaclass.model
Class ParameterDescriptor

java.lang.Object
  extended byorg.codehaus.metaclass.model.ParameterDescriptor
All Implemented Interfaces:
java.io.Serializable

public final class ParameterDescriptor
extends java.lang.Object
implements java.io.Serializable

A descriptor that describes a parameter of a Method. It contains information about;

Version:
$Revision: 1.7 $ $Date: 2003/12/11 08:41:50 $
Author:
Peter Donald
See Also:
Serialized Form

Field Summary
static ParameterDescriptor[] EMPTY_SET
          The constant for Empty Set of parameters.
 
Constructor Summary
ParameterDescriptor(java.lang.String name, java.lang.String type)
          Construct a descriptor for a parameter.
 
Method Summary
 java.lang.String getName()
          Return the name of the parameter.
 java.lang.String getType()
          Return the type of the parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY_SET

public static final ParameterDescriptor[] EMPTY_SET
The constant for Empty Set of parameters.

Constructor Detail

ParameterDescriptor

public ParameterDescriptor(java.lang.String name,
                           java.lang.String type)
Construct a descriptor for a parameter.

Parameters:
name - the name of the parameter
type - the type of the parameter
Method Detail

getName

public java.lang.String getName()
Return the name of the parameter.

Returns:
the name of the parameter.

getType

public java.lang.String getType()
Return the type of the parameter.

Returns:
the type of the parameter.


Copyright © 2003-2004 Codehaus. All Rights Reserved.