|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.spicefactory.pimento.generator.model.OperationModel
public class OperationModel
Represents the generator model for a single operation of a Cinnamon service.
| Constructor Summary | |
|---|---|
OperationModel(Class<?> serviceApi,
Class<?> serviceImplementation,
OperationConfig operation,
GeneratorConfig config)
Creates a new model instance |
|
| Method Summary | |
|---|---|
String |
getAlias()
Returns the alias of the operation (the client side method name). |
Set<String> |
getImports()
Returns all classes used as operation parameter types for which import statements need to be generated. |
List<ParameterModel> |
getParams()
Returns the generator models representing the operation parameters. |
String |
getReturnType()
Returns the fully qualified ActionScript return type of the operation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OperationModel(Class<?> serviceApi,
Class<?> serviceImplementation,
OperationConfig operation,
GeneratorConfig config)
serviceApi - the Java service APIserviceImplementation - the Java service implementation (optional)operation - the service operationconfig - the generator configuration| Method Detail |
|---|
public String getAlias()
public String getReturnType()
public List<ParameterModel> getParams()
public Set<String> getImports()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||