org.spicefactory.pimento.generator.model
Class ParameterModel

java.lang.Object
  extended by org.spicefactory.pimento.generator.model.ParameterModel

public class ParameterModel
extends Object

Represents the generator model for a single parameter of a service operation.

Author:
Jens Halm

Constructor Summary
ParameterModel(String name, String type)
          Creates a new model instance.
 
Method Summary
 String getName()
          Returns the name for this parameter.
 String getType()
          Returns the ActionScript type of this parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParameterModel

public ParameterModel(String name,
                      String type)
Creates a new model instance.

Parameters:
name - the name of the parameter
type - the ActionScript type of the parameter (not fully qualified)
Method Detail

getName

public String getName()
Returns the name for this parameter.

Returns:
the name for this parameter

getType

public String getType()
Returns the ActionScript type of this parameter. Only the name of the ActionScript class will be returned, not the fully qualified class name.

Returns:
the ActionScript type of this parameter