public class UriInfoImpl extends Object implements UriInfo
| Constructor and Description |
|---|
UriInfoImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addFunctionImportParameter(String name,
EdmLiteral value) |
void |
addNavigationSegment(NavigationSegment navigationSegment) |
void |
addProperty(EdmProperty property) |
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<EdmProperty> |
getPropertyPath()
Gets the path used to select a (simple or complex) property of an entity,
or an empty list if no property is accessed.
|
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.
|
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 from
UriInfo.getNavigationSegments() or, if no navigation has been used,
to the result of UriInfo.getKeyPredicates(). |
EdmType |
getTargetType()
Gets the target type of the request: an entity type, a simple type, or a complex type.
|
Integer |
getTop()
Gets the value of the $top system query option.
|
UriType |
getUriType() |
boolean |
isCount()
Determines whether $count has been used in the request URI.
|
boolean |
isLinks()
Determines whether $links has been used in the request URI.
|
boolean |
isValue()
Determines whether $value has been used in the request URI.
|
void |
setCount(boolean count) |
void |
setCustomQueryOptions(Map<String,String> customQueryOptions) |
void |
setEntityContainer(EdmEntityContainer entityContainer) |
void |
setExpand(List<ArrayList<NavigationPropertySegment>> expand) |
void |
setFilter(FilterExpression filter) |
void |
setFormat(String contentType) |
void |
setFunctionImport(EdmFunctionImport functionImport) |
void |
setInlineCount(InlineCount inlineCount) |
void |
setKeyPredicates(List<KeyPredicate> keyPredicates) |
void |
setLinks(boolean links) |
void |
setOrderBy(OrderByExpression orderBy) |
void |
setSelect(List<SelectItem> select) |
void |
setSkip(Integer skip) |
void |
setSkipToken(String skipToken) |
void |
setStartEntitySet(EdmEntitySet edmEntitySet) |
void |
setTargetEntitySet(EdmEntitySet targetEntitySet) |
void |
setTargetType(EdmType targetType) |
void |
setTop(Integer top) |
void |
setUriType(UriType uriType) |
void |
setValue(boolean value) |
String |
toString() |
public UriType getUriType()
public void setUriType(UriType uriType)
public void setEntityContainer(EdmEntityContainer entityContainer)
public EdmEntityContainer getEntityContainer()
UriInfogetEntityContainer in interface DeleteUriInfogetEntityContainer in interface GetComplexPropertyUriInfogetEntityContainer in interface GetEntityCountUriInfogetEntityContainer in interface GetEntityLinkCountUriInfogetEntityContainer in interface GetEntityLinkUriInfogetEntityContainer in interface GetEntitySetCountUriInfogetEntityContainer in interface GetEntitySetLinksCountUriInfogetEntityContainer in interface GetEntitySetLinksUriInfogetEntityContainer in interface GetEntitySetUriInfogetEntityContainer in interface GetEntityUriInfogetEntityContainer in interface GetMediaResourceUriInfogetEntityContainer in interface GetSimplePropertyUriInfogetEntityContainer in interface PostUriInfogetEntityContainer in interface PutMergePatchUriInfogetEntityContainer in interface UriInfoEdmEntityContainer the target entity containerpublic void setStartEntitySet(EdmEntitySet edmEntitySet)
public EdmEntitySet getStartEntitySet()
UriInfogetStartEntitySet in interface DeleteUriInfogetStartEntitySet in interface GetComplexPropertyUriInfogetStartEntitySet in interface GetEntityCountUriInfogetStartEntitySet in interface GetEntityLinkCountUriInfogetStartEntitySet in interface GetEntityLinkUriInfogetStartEntitySet in interface GetEntitySetCountUriInfogetStartEntitySet in interface GetEntitySetLinksCountUriInfogetStartEntitySet in interface GetEntitySetLinksUriInfogetStartEntitySet in interface GetEntitySetUriInfogetStartEntitySet in interface GetEntityUriInfogetStartEntitySet in interface GetMediaResourceUriInfogetStartEntitySet in interface GetSimplePropertyUriInfogetStartEntitySet in interface PostUriInfogetStartEntitySet in interface PutMergePatchUriInfogetStartEntitySet in interface UriInfoEdmEntitySetpublic void setTargetEntitySet(EdmEntitySet targetEntitySet)
public EdmEntitySet getTargetEntitySet()
UriInfogetTargetEntitySet in interface DeleteUriInfogetTargetEntitySet in interface GetComplexPropertyUriInfogetTargetEntitySet in interface GetEntityCountUriInfogetTargetEntitySet in interface GetEntityLinkCountUriInfogetTargetEntitySet in interface GetEntityLinkUriInfogetTargetEntitySet in interface GetEntitySetCountUriInfogetTargetEntitySet in interface GetEntitySetLinksCountUriInfogetTargetEntitySet in interface GetEntitySetLinksUriInfogetTargetEntitySet in interface GetEntitySetUriInfogetTargetEntitySet in interface GetEntityUriInfogetTargetEntitySet in interface GetMediaResourceUriInfogetTargetEntitySet in interface GetSimplePropertyUriInfogetTargetEntitySet in interface PostUriInfogetTargetEntitySet in interface PutMergePatchUriInfogetTargetEntitySet in interface UriInfoEdmEntitySet target entity setpublic void setFunctionImport(EdmFunctionImport functionImport)
public EdmFunctionImport getFunctionImport()
UriInfogetFunctionImport in interface DeleteUriInfogetFunctionImport in interface GetComplexPropertyUriInfogetFunctionImport in interface GetEntityCountUriInfogetFunctionImport in interface GetEntityLinkCountUriInfogetFunctionImport in interface GetEntityLinkUriInfogetFunctionImport in interface GetEntitySetCountUriInfogetFunctionImport in interface GetEntitySetLinksCountUriInfogetFunctionImport in interface GetEntitySetLinksUriInfogetFunctionImport in interface GetEntitySetUriInfogetFunctionImport in interface GetEntityUriInfogetFunctionImport in interface GetFunctionImportUriInfogetFunctionImport in interface GetMediaResourceUriInfogetFunctionImport in interface GetSimplePropertyUriInfogetFunctionImport in interface PostUriInfogetFunctionImport in interface PutMergePatchUriInfogetFunctionImport in interface UriInfoEdmFunctionImport the function importpublic void setTargetType(EdmType targetType)
public EdmType getTargetType()
UriInfogetTargetType in interface DeleteUriInfogetTargetType in interface GetComplexPropertyUriInfogetTargetType in interface GetEntityCountUriInfogetTargetType in interface GetEntityLinkCountUriInfogetTargetType in interface GetEntityLinkUriInfogetTargetType in interface GetEntitySetCountUriInfogetTargetType in interface GetEntitySetLinksCountUriInfogetTargetType in interface GetEntitySetLinksUriInfogetTargetType in interface GetEntitySetUriInfogetTargetType in interface GetEntityUriInfogetTargetType in interface GetMediaResourceUriInfogetTargetType in interface GetSimplePropertyUriInfogetTargetType in interface PostUriInfogetTargetType in interface PutMergePatchUriInfogetTargetType in interface UriInfoEdmType the target typepublic void setKeyPredicates(List<KeyPredicate> keyPredicates)
public List<KeyPredicate> getKeyPredicates()
UriInfogetKeyPredicates in interface DeleteUriInfogetKeyPredicates in interface GetComplexPropertyUriInfogetKeyPredicates in interface GetEntityCountUriInfogetKeyPredicates in interface GetEntityLinkCountUriInfogetKeyPredicates in interface GetEntityLinkUriInfogetKeyPredicates in interface GetEntitySetCountUriInfogetKeyPredicates in interface GetEntitySetLinksCountUriInfogetKeyPredicates in interface GetEntitySetLinksUriInfogetKeyPredicates in interface GetEntitySetUriInfogetKeyPredicates in interface GetEntityUriInfogetKeyPredicates in interface GetMediaResourceUriInfogetKeyPredicates in interface GetSimplePropertyUriInfogetKeyPredicates in interface PostUriInfogetKeyPredicates in interface PutMergePatchUriInfogetKeyPredicates in interface UriInfoKeyPredicateUriInfo.getStartEntitySet()public List<KeyPredicate> getTargetKeyPredicates()
UriInfoUriInfo.getNavigationSegments() or, if no navigation has been used,
to the result of UriInfo.getKeyPredicates().getTargetKeyPredicates in interface DeleteUriInfogetTargetKeyPredicates in interface GetComplexPropertyUriInfogetTargetKeyPredicates in interface GetEntityCountUriInfogetTargetKeyPredicates in interface GetEntityLinkCountUriInfogetTargetKeyPredicates in interface GetEntityLinkUriInfogetTargetKeyPredicates in interface GetEntityUriInfogetTargetKeyPredicates in interface GetMediaResourceUriInfogetTargetKeyPredicates in interface GetSimplePropertyUriInfogetTargetKeyPredicates in interface PutMergePatchUriInfogetTargetKeyPredicates in interface UriInfoKeyPredicateUriInfo.getTargetEntitySet()public void addNavigationSegment(NavigationSegment navigationSegment)
public List<NavigationSegment> getNavigationSegments()
UriInfogetNavigationSegments in interface DeleteUriInfogetNavigationSegments in interface GetComplexPropertyUriInfogetNavigationSegments in interface GetEntityCountUriInfogetNavigationSegments in interface GetEntityLinkCountUriInfogetNavigationSegments in interface GetEntityLinkUriInfogetNavigationSegments in interface GetEntitySetCountUriInfogetNavigationSegments in interface GetEntitySetLinksCountUriInfogetNavigationSegments in interface GetEntitySetLinksUriInfogetNavigationSegments in interface GetEntitySetUriInfogetNavigationSegments in interface GetEntityUriInfogetNavigationSegments in interface GetMediaResourceUriInfogetNavigationSegments in interface GetSimplePropertyUriInfogetNavigationSegments in interface PostUriInfogetNavigationSegments in interface PutMergePatchUriInfogetNavigationSegments in interface UriInfoNavigationSegmentpublic void addProperty(EdmProperty property)
public List<EdmProperty> getPropertyPath()
UriInfogetPropertyPath in interface DeleteUriInfogetPropertyPath in interface GetComplexPropertyUriInfogetPropertyPath in interface GetSimplePropertyUriInfogetPropertyPath in interface PutMergePatchUriInfogetPropertyPath in interface UriInfoEdmPropertypublic void setCount(boolean count)
public boolean isCount()
UriInfoisCount in interface GetEntityCountUriInfoisCount in interface GetEntityLinkCountUriInfoisCount in interface GetEntitySetCountUriInfoisCount in interface GetEntitySetLinksCountUriInfoisCount in interface UriInfopublic void setValue(boolean value)
public boolean isValue()
UriInfoisValue in interface GetSimplePropertyUriInfoisValue in interface UriInfopublic void setLinks(boolean links)
public boolean isLinks()
UriInfoisLinks in interface GetEntityLinkCountUriInfoisLinks in interface GetEntityLinkUriInfoisLinks in interface GetEntitySetLinksCountUriInfoisLinks in interface GetEntitySetLinksUriInfoisLinks in interface UriInfopublic void setFormat(String contentType)
public String getFormat()
UriInfogetFormat in interface GetComplexPropertyUriInfogetFormat in interface GetEntityLinkUriInfogetFormat in interface GetEntitySetLinksUriInfogetFormat in interface GetEntitySetUriInfogetFormat in interface GetEntityUriInfogetFormat in interface GetFunctionImportUriInfogetFormat in interface GetMediaResourceUriInfogetFormat in interface GetServiceDocumentUriInfogetFormat in interface GetSimplePropertyUriInfogetFormat in interface UriInfo$format query parameter) or nullpublic void setFilter(FilterExpression filter)
public FilterExpression getFilter()
UriInfogetFilter in interface GetEntityCountUriInfogetFilter in interface GetEntitySetCountUriInfogetFilter in interface GetEntitySetLinksCountUriInfogetFilter in interface GetEntitySetLinksUriInfogetFilter in interface GetEntitySetUriInfogetFilter in interface GetEntityUriInfogetFilter in interface GetMediaResourceUriInfogetFilter in interface PutMergePatchUriInfogetFilter in interface UriInfopublic void setInlineCount(InlineCount inlineCount)
public InlineCount getInlineCount()
UriInfogetInlineCount in interface GetEntitySetLinksUriInfogetInlineCount in interface GetEntitySetUriInfogetInlineCount in interface UriInfoInlineCount the inline count or nullpublic void setOrderBy(OrderByExpression orderBy)
public OrderByExpression getOrderBy()
UriInfogetOrderBy in interface GetEntitySetUriInfogetOrderBy in interface UriInfopublic void setSkipToken(String skipToken)
public String getSkipToken()
UriInfogetSkipToken in interface GetEntitySetLinksUriInfogetSkipToken in interface GetEntitySetUriInfogetSkipToken in interface UriInfopublic void setSkip(Integer skip)
public Integer getSkip()
UriInfogetSkip in interface GetEntitySetCountUriInfogetSkip in interface GetEntitySetLinksCountUriInfogetSkip in interface GetEntitySetLinksUriInfogetSkip in interface GetEntitySetUriInfogetSkip in interface UriInfopublic void setTop(Integer top)
public Integer getTop()
UriInfogetTop in interface GetEntitySetCountUriInfogetTop in interface GetEntitySetLinksCountUriInfogetTop in interface GetEntitySetLinksUriInfogetTop in interface GetEntitySetUriInfogetTop in interface UriInfopublic void setExpand(List<ArrayList<NavigationPropertySegment>> expand)
public List<ArrayList<NavigationPropertySegment>> getExpand()
UriInfogetExpand in interface GetEntitySetUriInfogetExpand in interface GetEntityUriInfogetExpand in interface UriInfoNavigationPropertySegment to be expandedpublic void setSelect(List<SelectItem> select)
public List<SelectItem> getSelect()
UriInfogetSelect in interface GetEntitySetUriInfogetSelect in interface GetEntityUriInfogetSelect in interface UriInfoSelectItem to be selectedpublic void addFunctionImportParameter(String name, EdmLiteral value)
public Map<String,EdmLiteral> getFunctionImportParameters()
UriInfogetFunctionImportParameters in interface DeleteUriInfogetFunctionImportParameters in interface GetComplexPropertyUriInfogetFunctionImportParameters in interface GetEntityCountUriInfogetFunctionImportParameters in interface GetEntityLinkCountUriInfogetFunctionImportParameters in interface GetEntityLinkUriInfogetFunctionImportParameters in interface GetEntitySetCountUriInfogetFunctionImportParameters in interface GetEntitySetLinksCountUriInfogetFunctionImportParameters in interface GetEntitySetLinksUriInfogetFunctionImportParameters in interface GetEntitySetUriInfogetFunctionImportParameters in interface GetEntityUriInfogetFunctionImportParameters in interface GetFunctionImportUriInfogetFunctionImportParameters in interface GetMediaResourceUriInfogetFunctionImportParameters in interface GetSimplePropertyUriInfogetFunctionImportParameters in interface PostUriInfogetFunctionImportParameters in interface PutMergePatchUriInfogetFunctionImportParameters in interface UriInfoEdmLiteral> function import parameterspublic Map<String,String> getCustomQueryOptions()
UriInfogetCustomQueryOptions in interface DeleteUriInfogetCustomQueryOptions in interface GetComplexPropertyUriInfogetCustomQueryOptions in interface GetEntityCountUriInfogetCustomQueryOptions in interface GetEntityLinkCountUriInfogetCustomQueryOptions in interface GetEntityLinkUriInfogetCustomQueryOptions in interface GetEntitySetCountUriInfogetCustomQueryOptions in interface GetEntitySetLinksCountUriInfogetCustomQueryOptions in interface GetEntitySetLinksUriInfogetCustomQueryOptions in interface GetEntitySetUriInfogetCustomQueryOptions in interface GetEntityUriInfogetCustomQueryOptions in interface GetFunctionImportUriInfogetCustomQueryOptions in interface GetMediaResourceUriInfogetCustomQueryOptions in interface GetMetadataUriInfogetCustomQueryOptions in interface GetServiceDocumentUriInfogetCustomQueryOptions in interface GetSimplePropertyUriInfogetCustomQueryOptions in interface PostUriInfogetCustomQueryOptions in interface PutMergePatchUriInfogetCustomQueryOptions in interface UriInfoCopyright © 2020. All rights reserved.