org.codehaus.modello.generator.java.javasource
public class JParameter extends Object
Version: $Revision: 149 $ $Date: 2004-09-29 13:32:16 -0400 (Wed, 29 Sep 2004) $
Constructor Summary | |
---|---|
JParameter(JType type, String name)
Creates a new JParameter with the given type, and name |
Method Summary | |
---|---|
String | getName()
Returns the name of the parameter |
JType | getType()
Returns the parameter type |
void | setName(String name)
Sets the name of this parameter |
void | setType(JType type)
Sets the type of this parameter |
String | toString()
Returns the String representation of this JParameter. |
Parameters: type the type to associate with this JParameter the name of the JParameter
Returns: the name of the parameter
Returns: the parameter type
Parameters: name the new name of the parameter
Parameters: type the new type of this parameter
Returns: the String representation of this JParameter