RestMetadata¶
-
public class
RestMetadata
¶ The
RestResponse
class represents metadata of retrieved instances over REST. It contains entity name, entity class name, module name, namespace and pagination informationSee also:
org.motechproject.mds.rest.MdsRestFacade
,org.motechproject.mds.rest.RestProjection
,org.motechproject.mds.rest.RestMetadata
Constructors¶
RestMetadata¶
-
public
RestMetadata
(String entity, String className, String moduleName, String namespace, Long totalCount, QueryParams queryParams)¶ Constructor.
Parameters: - entity – the entity name
- className – the name of the entity class
- moduleName – the module name
- namespace – the namespace in which the entity is defined
- totalCount – the total number of instances that match the search conditions
- queryParams – the query params used to retrieve instances