Interface GetEntityLinkCountUriInfo
- All Known Subinterfaces:
UriInfo
- All Known Implementing Classes:
UriInfoImpl
public interface GetEntityLinkCountUriInfo
Access to the parts of the request URI that are relevant for GET requests
of the number of links to a single entity (also known as existence check).
-
Method Summary
Modifier and TypeMethodDescriptionGets 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.Gets the target entity container.Gets the function import.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.Gets the key predicates used to select a single entity out of the start entity set, or an empty list if not used.Gets the navigation segments, or an empty list if no navigation has been used.Gets the start entity set - identical to the target entity set if no navigation has been used.Gets the target entity set after navigation.Gets the key predicates used to select a single entity out of the target entity set, or an empty list if not used - identical to the key predicates from the last entry retrieved fromgetNavigationSegments()or, if no navigation has been used, to the result ofgetKeyPredicates().Gets the target entity type of the request.booleanisCount()Determines whether $count has been used in the request URI.booleanisLinks()Determines whether $links has been used in the request URI.
-
Method Details
-
getEntityContainer
EdmEntityContainer getEntityContainer()Gets the target entity container.- Returns:
EdmEntityContainerthe 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:
EdmEntitySettarget entity set
-
getFunctionImport
EdmFunctionImport getFunctionImport()Gets the function import.- Returns:
EdmFunctionImportthe function import
-
getTargetType
EdmType getTargetType()Gets the target entity type of the request.- Returns:
EdmTypethe 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:
-
getTargetKeyPredicates
List<KeyPredicate> getTargetKeyPredicates()Gets the key predicates used to select a single entity out of the target entity set, or an empty list if not used - identical to the key predicates from the last entry retrieved fromgetNavigationSegments()or, if no navigation has been used, to the result ofgetKeyPredicates().- Returns:
- List of
KeyPredicate - See Also:
-
isCount
boolean isCount()Determines whether $count has been used in the request URI.- Returns:
- whether $count has been used
-
isLinks
boolean isLinks()Determines whether $links has been used in the request URI.- Returns:
- whether $links has been used
-
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
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
-