org.apache.olingo.odata2.api.uri.info
Interface GetEntitySetUriInfo

All Known Subinterfaces:
UriInfo

public interface GetEntitySetUriInfo

Access to the parts of the request URI that are relevant for GET requests of entities.

Do not implement this interface or derive from class.

Method Summary
 Map<String,String> getCustomQueryOptions()
          Gets the custom query options as Map from option names to their corresponding String values, or an empty list if no custom query options are given in the URI.
 EdmEntityContainer getEntityContainer()
          Gets the target entity container.
 List<ArrayList<NavigationPropertySegment>> getExpand()
          Gets the value of the $expand system query option as a list of lists of navigation-property segments, or an empty list if not used.
 FilterExpression getFilter()
          Gets the value of the $filter system query option as root object of the expression tree built during URI parsing.
 String getFormat()
          Gets the value of the $format system query option.
 EdmFunctionImport getFunctionImport()
          Gets the function import.
 Map<String,EdmLiteral> getFunctionImportParameters()
          Gets the parameters of a function import as Map from parameter names to their corresponding typed values, or an empty list if no function import is used or no parameters are given in the URI.
 InlineCount getInlineCount()
          Gets the value of the $inlinecount system query option.
 List<KeyPredicate> getKeyPredicates()
          Gets the key predicates used to select a single entity out of the start entity set, or an empty list if not used.
 List<NavigationSegment> getNavigationSegments()
          Gets the navigation segments, or an empty list if no navigation has been used.
 OrderByExpression getOrderBy()
          Gets the value of the $orderby system query option as root object of the expression tree built during URI parsing.
 List<SelectItem> getSelect()
          Gets the value of the $select system query option as a list of select items, or an empty list if not used.
 Integer getSkip()
          Gets the value of the $skip system query option.
 String getSkipToken()
          Gets the value of the $skiptoken system query option.
 EdmEntitySet getStartEntitySet()
          Gets the start entity set - identical to the target entity set if no navigation has been used.
 EdmEntitySet getTargetEntitySet()
          Gets the target entity set after navigation.
 EdmType getTargetType()
          Gets the target entity type of the request.
 Integer getTop()
          Gets the value of the $top system query option.
 

Method Detail

getEntityContainer

EdmEntityContainer getEntityContainer()
Gets the target entity container.

Returns:
EdmEntityContainer the target entity container

getStartEntitySet

EdmEntitySet getStartEntitySet()
Gets the start entity set - identical to the target entity set if no navigation has been used.

Returns:
EdmEntitySet

getTargetEntitySet

EdmEntitySet getTargetEntitySet()
Gets the target entity set after navigation.

Returns:
EdmEntitySet target entity set

getFunctionImport

EdmFunctionImport getFunctionImport()
Gets the function import.

Returns:
EdmFunctionImport the function import

getTargetType

EdmType getTargetType()
Gets the target entity type of the request.

Returns:
EdmType the target type

getKeyPredicates

List<KeyPredicate> getKeyPredicates()
Gets the key predicates used to select a single entity out of the start entity set, or an empty list if not used.

Returns:
List of KeyPredicate
See Also:
getStartEntitySet()

getNavigationSegments

List<NavigationSegment> getNavigationSegments()
Gets the navigation segments, or an empty list if no navigation has been used.

Returns:
List of NavigationSegment

getFormat

String getFormat()
Gets the value of the $format system query option.

Returns:
the format (as set as $format query parameter) or null

getFilter

FilterExpression getFilter()
Gets the value of the $filter system query option as root object of the expression tree built during URI parsing.

Returns:
the filter expression or null

getInlineCount

InlineCount getInlineCount()
Gets the value of the $inlinecount system query option.

Returns:
InlineCount the inline count or null

getOrderBy

OrderByExpression getOrderBy()
Gets the value of the $orderby system query option as root object of the expression tree built during URI parsing.

Returns:
the order-by expression or null

getSkipToken

String getSkipToken()
Gets the value of the $skiptoken system query option.

Returns:
the skip token or null

getSkip

Integer getSkip()
Gets the value of the $skip system query option.

Returns:
skip or null

getTop

Integer getTop()
Gets the value of the $top system query option.

Returns:
top or null

getExpand

List<ArrayList<NavigationPropertySegment>> getExpand()
Gets the value of the $expand system query option as a list of lists of navigation-property segments, or an empty list if not used.

Returns:
List of a list of NavigationPropertySegment to be expanded

getSelect

List<SelectItem> getSelect()
Gets the value of the $select system query option as a list of select items, or an empty list if not used.

Returns:
List of SelectItem to be selected

getFunctionImportParameters

Map<String,EdmLiteral> getFunctionImportParameters()
Gets the parameters of a function import as Map from parameter names to their corresponding typed values, or an empty list if no function import is used or no parameters are given in the URI.

Returns:
Map of <String, EdmLiteral> function import parameters

getCustomQueryOptions

Map<String,String> getCustomQueryOptions()
Gets the custom query options as Map from option names to their corresponding String values, or an empty list if no custom query options are given in the URI.

Returns:
Map of <String, String> custom query options


Copyright © 2013-2015 The Apache Software Foundation. All Rights Reserved.