public class

RequestMethod

extends Object
java.lang.Object
   ↳ com.google.gwt.requestfactory.rebind.model.RequestMethod

Class Overview

Represents a method declaration that causes data to be transported. This can be a method declared in a RequestContext or a getter or setter on an EntityProxy.

Summary

Nested Classes
class RequestMethod.Builder Builds a ContextMethod
enum RequestMethod.CollectionType Indicates the type of collection that a Request will return. 
Public Methods
JClassType getCollectionElementType()
If the method returns a collection, this method will return the element type.
RequestMethod.CollectionType getCollectionType()
JClassType getDataType()
JMethod getDeclarationMethod()
EntityProxyModel getEntityType()
If the type returned from getDataType() refers to an EntityProxy subtype, or a collection of EntityProxy subtypes, returns the EntityProxyModel describing the entity.
EntityProxyModel getInstanceType()
If the method is intended to be invoked on an instance of an EntityProxy, returns the EntityProxyModel describing that type.
boolean isCollectionType()
boolean isEntityType()
boolean isInstance()
boolean isValueType()
String toString()
For debugging use only.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public JClassType getCollectionElementType ()

If the method returns a collection, this method will return the element type.

public RequestMethod.CollectionType getCollectionType ()

public JClassType getDataType ()

public JMethod getDeclarationMethod ()

public EntityProxyModel getEntityType ()

If the type returned from getDataType() refers to an EntityProxy subtype, or a collection of EntityProxy subtypes, returns the EntityProxyModel describing the entity.

public EntityProxyModel getInstanceType ()

If the method is intended to be invoked on an instance of an EntityProxy, returns the EntityProxyModel describing that type.

public boolean isCollectionType ()

public boolean isEntityType ()

public boolean isInstance ()

public boolean isValueType ()

public String toString ()

For debugging use only.