UML.Code.Method
Class Parameter

java.lang.Object
  |
  +--UML.Code.Method.Parameter

public class Parameter
extends java.lang.Object

Parameter class represent a parameter of a method of the Java class for which code is generated.


Constructor Summary
Parameter()
          Constructor.
 
Method Summary
 java.lang.String getCode()
          Gets the code for the declaration of this parameter.
 java.lang.String getKind()
          Gets the kind of parameter (input, output, input/output).
 java.lang.String getTypename()
          Gets the name of type of the parameter (e.g. int, String, Object, boolean ecc.).
 void setKind(java.lang.String kind)
          Sets the kind of parameter (input, output, input/output).
 void setName(java.lang.String name)
          Sets the name of the parameter.
 void setTypename(java.lang.String typename)
          Sets the name of type of the parameter (e.g. int, String, Object, boolean ecc.).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Parameter

public Parameter()
Constructor.

Method Detail

setName

public void setName(java.lang.String name)
Sets the name of the parameter.


setKind

public void setKind(java.lang.String kind)
Sets the kind of parameter (input, output, input/output).


getKind

public java.lang.String getKind()
Gets the kind of parameter (input, output, input/output).

Returns:
kind the kind of parameter.

setTypename

public void setTypename(java.lang.String typename)
Sets the name of type of the parameter (e.g. int, String, Object, boolean ecc.).


getTypename

public java.lang.String getTypename()
Gets the name of type of the parameter (e.g. int, String, Object, boolean ecc.).

Returns:
typename the name of type of the parameter.

getCode

public java.lang.String getCode()
Gets the code for the declaration of this parameter.

Returns:
code the generated code.