public interface MethodResourceMapping extends ResourceMapping
ResourceMapping that is backed by a Method.| Modifier and Type | Method and Description |
|---|---|
Method |
getMethod()
Returns the
Method backing the resource. |
ParametersMetadata |
getParametersMetadata()
Returns
ParameterMetadata instances for all named parameters. |
Class<?> |
getReturnedDomainType()
Returns the domain type that the query method returns.
|
boolean |
isSortableResource()
Returns whether the resource is sortable.
|
getDescription, getPath, getRel, isExported, isPagingResourceParametersMetadata getParametersMetadata()
ParameterMetadata instances for all named parameters.boolean isSortableResource()
Class<?> getReturnedDomainType()
Collections,
Maps, Optionals etc.) for their element or value types.Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.