Class UriInfoImpl
- java.lang.Object
-
- org.apache.olingo.odata2.core.uri.UriInfoImpl
-
- All Implemented Interfaces:
DeleteUriInfo,GetComplexPropertyUriInfo,GetEntityCountUriInfo,GetEntityLinkCountUriInfo,GetEntityLinkUriInfo,GetEntitySetCountUriInfo,GetEntitySetLinksCountUriInfo,GetEntitySetLinksUriInfo,GetEntitySetUriInfo,GetEntityUriInfo,GetFunctionImportUriInfo,GetMediaResourceUriInfo,GetMetadataUriInfo,GetServiceDocumentUriInfo,GetSimplePropertyUriInfo,PostUriInfo,PutMergePatchUriInfo,UriInfo
public class UriInfoImpl extends Object implements UriInfo
-
-
Constructor Summary
Constructors Constructor Description UriInfoImpl()
-
Method Summary
-
-
-
Method Detail
-
getUriType
public UriType getUriType()
-
setUriType
public void setUriType(UriType uriType)
-
setEntityContainer
public void setEntityContainer(EdmEntityContainer entityContainer)
-
getEntityContainer
public EdmEntityContainer getEntityContainer()
- Specified by:
getEntityContainerin interfaceDeleteUriInfo- Specified by:
getEntityContainerin interfaceGetComplexPropertyUriInfo- Specified by:
getEntityContainerin interfaceGetEntityCountUriInfo- Specified by:
getEntityContainerin interfaceGetEntityLinkCountUriInfo- Specified by:
getEntityContainerin interfaceGetEntityLinkUriInfo- Specified by:
getEntityContainerin interfaceGetEntitySetCountUriInfo- Specified by:
getEntityContainerin interfaceGetEntitySetLinksCountUriInfo- Specified by:
getEntityContainerin interfaceGetEntitySetLinksUriInfo- Specified by:
getEntityContainerin interfaceGetEntitySetUriInfo- Specified by:
getEntityContainerin interfaceGetEntityUriInfo- Specified by:
getEntityContainerin interfaceGetMediaResourceUriInfo- Specified by:
getEntityContainerin interfaceGetSimplePropertyUriInfo- Specified by:
getEntityContainerin interfacePostUriInfo- Specified by:
getEntityContainerin interfacePutMergePatchUriInfo- Specified by:
getEntityContainerin interfaceUriInfo
-
setStartEntitySet
public void setStartEntitySet(EdmEntitySet edmEntitySet)
-
getStartEntitySet
public EdmEntitySet getStartEntitySet()
- Specified by:
getStartEntitySetin interfaceDeleteUriInfo- Specified by:
getStartEntitySetin interfaceGetComplexPropertyUriInfo- Specified by:
getStartEntitySetin interfaceGetEntityCountUriInfo- Specified by:
getStartEntitySetin interfaceGetEntityLinkCountUriInfo- Specified by:
getStartEntitySetin interfaceGetEntityLinkUriInfo- Specified by:
getStartEntitySetin interfaceGetEntitySetCountUriInfo- Specified by:
getStartEntitySetin interfaceGetEntitySetLinksCountUriInfo- Specified by:
getStartEntitySetin interfaceGetEntitySetLinksUriInfo- Specified by:
getStartEntitySetin interfaceGetEntitySetUriInfo- Specified by:
getStartEntitySetin interfaceGetEntityUriInfo- Specified by:
getStartEntitySetin interfaceGetMediaResourceUriInfo- Specified by:
getStartEntitySetin interfaceGetSimplePropertyUriInfo- Specified by:
getStartEntitySetin interfacePostUriInfo- Specified by:
getStartEntitySetin interfacePutMergePatchUriInfo- Specified by:
getStartEntitySetin interfaceUriInfo
-
setTargetEntitySet
public void setTargetEntitySet(EdmEntitySet targetEntitySet)
-
getTargetEntitySet
public EdmEntitySet getTargetEntitySet()
- Specified by:
getTargetEntitySetin interfaceDeleteUriInfo- Specified by:
getTargetEntitySetin interfaceGetComplexPropertyUriInfo- Specified by:
getTargetEntitySetin interfaceGetEntityCountUriInfo- Specified by:
getTargetEntitySetin interfaceGetEntityLinkCountUriInfo- Specified by:
getTargetEntitySetin interfaceGetEntityLinkUriInfo- Specified by:
getTargetEntitySetin interfaceGetEntitySetCountUriInfo- Specified by:
getTargetEntitySetin interfaceGetEntitySetLinksCountUriInfo- Specified by:
getTargetEntitySetin interfaceGetEntitySetLinksUriInfo- Specified by:
getTargetEntitySetin interfaceGetEntitySetUriInfo- Specified by:
getTargetEntitySetin interfaceGetEntityUriInfo- Specified by:
getTargetEntitySetin interfaceGetMediaResourceUriInfo- Specified by:
getTargetEntitySetin interfaceGetSimplePropertyUriInfo- Specified by:
getTargetEntitySetin interfacePostUriInfo- Specified by:
getTargetEntitySetin interfacePutMergePatchUriInfo- Specified by:
getTargetEntitySetin interfaceUriInfo
-
setFunctionImport
public void setFunctionImport(EdmFunctionImport functionImport)
-
getFunctionImport
public EdmFunctionImport getFunctionImport()
- Specified by:
getFunctionImportin interfaceDeleteUriInfo- Specified by:
getFunctionImportin interfaceGetComplexPropertyUriInfo- Specified by:
getFunctionImportin interfaceGetEntityCountUriInfo- Specified by:
getFunctionImportin interfaceGetEntityLinkCountUriInfo- Specified by:
getFunctionImportin interfaceGetEntityLinkUriInfo- Specified by:
getFunctionImportin interfaceGetEntitySetCountUriInfo- Specified by:
getFunctionImportin interfaceGetEntitySetLinksCountUriInfo- Specified by:
getFunctionImportin interfaceGetEntitySetLinksUriInfo- Specified by:
getFunctionImportin interfaceGetEntitySetUriInfo- Specified by:
getFunctionImportin interfaceGetEntityUriInfo- Specified by:
getFunctionImportin interfaceGetFunctionImportUriInfo- Specified by:
getFunctionImportin interfaceGetMediaResourceUriInfo- Specified by:
getFunctionImportin interfaceGetSimplePropertyUriInfo- Specified by:
getFunctionImportin interfacePostUriInfo- Specified by:
getFunctionImportin interfacePutMergePatchUriInfo- Specified by:
getFunctionImportin interfaceUriInfo
-
setTargetType
public void setTargetType(EdmType targetType)
-
getTargetType
public EdmType getTargetType()
- Specified by:
getTargetTypein interfaceDeleteUriInfo- Specified by:
getTargetTypein interfaceGetComplexPropertyUriInfo- Specified by:
getTargetTypein interfaceGetEntityCountUriInfo- Specified by:
getTargetTypein interfaceGetEntityLinkCountUriInfo- Specified by:
getTargetTypein interfaceGetEntityLinkUriInfo- Specified by:
getTargetTypein interfaceGetEntitySetCountUriInfo- Specified by:
getTargetTypein interfaceGetEntitySetLinksCountUriInfo- Specified by:
getTargetTypein interfaceGetEntitySetLinksUriInfo- Specified by:
getTargetTypein interfaceGetEntitySetUriInfo- Specified by:
getTargetTypein interfaceGetEntityUriInfo- Specified by:
getTargetTypein interfaceGetMediaResourceUriInfo- Specified by:
getTargetTypein interfaceGetSimplePropertyUriInfo- Specified by:
getTargetTypein interfacePostUriInfo- Specified by:
getTargetTypein interfacePutMergePatchUriInfo- Specified by:
getTargetTypein interfaceUriInfo
-
setKeyPredicates
public void setKeyPredicates(List<KeyPredicate> keyPredicates)
-
getKeyPredicates
public List<KeyPredicate> getKeyPredicates()
- Specified by:
getKeyPredicatesin interfaceDeleteUriInfo- Specified by:
getKeyPredicatesin interfaceGetComplexPropertyUriInfo- Specified by:
getKeyPredicatesin interfaceGetEntityCountUriInfo- Specified by:
getKeyPredicatesin interfaceGetEntityLinkCountUriInfo- Specified by:
getKeyPredicatesin interfaceGetEntityLinkUriInfo- Specified by:
getKeyPredicatesin interfaceGetEntitySetCountUriInfo- Specified by:
getKeyPredicatesin interfaceGetEntitySetLinksCountUriInfo- Specified by:
getKeyPredicatesin interfaceGetEntitySetLinksUriInfo- Specified by:
getKeyPredicatesin interfaceGetEntitySetUriInfo- Specified by:
getKeyPredicatesin interfaceGetEntityUriInfo- Specified by:
getKeyPredicatesin interfaceGetMediaResourceUriInfo- Specified by:
getKeyPredicatesin interfaceGetSimplePropertyUriInfo- Specified by:
getKeyPredicatesin interfacePostUriInfo- Specified by:
getKeyPredicatesin interfacePutMergePatchUriInfo- Specified by:
getKeyPredicatesin interfaceUriInfo
-
getTargetKeyPredicates
public List<KeyPredicate> getTargetKeyPredicates()
- Specified by:
getTargetKeyPredicatesin interfaceDeleteUriInfo- Specified by:
getTargetKeyPredicatesin interfaceGetComplexPropertyUriInfo- Specified by:
getTargetKeyPredicatesin interfaceGetEntityCountUriInfo- Specified by:
getTargetKeyPredicatesin interfaceGetEntityLinkCountUriInfo- Specified by:
getTargetKeyPredicatesin interfaceGetEntityLinkUriInfo- Specified by:
getTargetKeyPredicatesin interfaceGetEntityUriInfo- Specified by:
getTargetKeyPredicatesin interfaceGetMediaResourceUriInfo- Specified by:
getTargetKeyPredicatesin interfaceGetSimplePropertyUriInfo- Specified by:
getTargetKeyPredicatesin interfacePutMergePatchUriInfo- Specified by:
getTargetKeyPredicatesin interfaceUriInfo
-
addNavigationSegment
public void addNavigationSegment(NavigationSegment navigationSegment)
-
getNavigationSegments
public List<NavigationSegment> getNavigationSegments()
- Specified by:
getNavigationSegmentsin interfaceDeleteUriInfo- Specified by:
getNavigationSegmentsin interfaceGetComplexPropertyUriInfo- Specified by:
getNavigationSegmentsin interfaceGetEntityCountUriInfo- Specified by:
getNavigationSegmentsin interfaceGetEntityLinkCountUriInfo- Specified by:
getNavigationSegmentsin interfaceGetEntityLinkUriInfo- Specified by:
getNavigationSegmentsin interfaceGetEntitySetCountUriInfo- Specified by:
getNavigationSegmentsin interfaceGetEntitySetLinksCountUriInfo- Specified by:
getNavigationSegmentsin interfaceGetEntitySetLinksUriInfo- Specified by:
getNavigationSegmentsin interfaceGetEntitySetUriInfo- Specified by:
getNavigationSegmentsin interfaceGetEntityUriInfo- Specified by:
getNavigationSegmentsin interfaceGetMediaResourceUriInfo- Specified by:
getNavigationSegmentsin interfaceGetSimplePropertyUriInfo- Specified by:
getNavigationSegmentsin interfacePostUriInfo- Specified by:
getNavigationSegmentsin interfacePutMergePatchUriInfo- Specified by:
getNavigationSegmentsin interfaceUriInfo
-
addProperty
public void addProperty(EdmProperty property)
-
getPropertyPath
public List<EdmProperty> getPropertyPath()
- Specified by:
getPropertyPathin interfaceDeleteUriInfo- Specified by:
getPropertyPathin interfaceGetComplexPropertyUriInfo- Specified by:
getPropertyPathin interfaceGetSimplePropertyUriInfo- Specified by:
getPropertyPathin interfacePutMergePatchUriInfo- Specified by:
getPropertyPathin interfaceUriInfo
-
setCount
public void setCount(boolean count)
-
isCount
public boolean isCount()
- Specified by:
isCountin interfaceGetEntityCountUriInfo- Specified by:
isCountin interfaceGetEntityLinkCountUriInfo- Specified by:
isCountin interfaceGetEntitySetCountUriInfo- Specified by:
isCountin interfaceGetEntitySetLinksCountUriInfo- Specified by:
isCountin interfaceUriInfo
-
setValue
public void setValue(boolean value)
-
isValue
public boolean isValue()
- Specified by:
isValuein interfaceGetSimplePropertyUriInfo- Specified by:
isValuein interfaceUriInfo
-
setLinks
public void setLinks(boolean links)
-
isLinks
public boolean isLinks()
- Specified by:
isLinksin interfaceGetEntityLinkCountUriInfo- Specified by:
isLinksin interfaceGetEntityLinkUriInfo- Specified by:
isLinksin interfaceGetEntitySetLinksCountUriInfo- Specified by:
isLinksin interfaceGetEntitySetLinksUriInfo- Specified by:
isLinksin interfaceUriInfo
-
setFormat
public void setFormat(String contentType)
-
getFormat
public String getFormat()
- Specified by:
getFormatin interfaceGetComplexPropertyUriInfo- Specified by:
getFormatin interfaceGetEntityLinkUriInfo- Specified by:
getFormatin interfaceGetEntitySetLinksUriInfo- Specified by:
getFormatin interfaceGetEntitySetUriInfo- Specified by:
getFormatin interfaceGetEntityUriInfo- Specified by:
getFormatin interfaceGetFunctionImportUriInfo- Specified by:
getFormatin interfaceGetMediaResourceUriInfo- Specified by:
getFormatin interfaceGetServiceDocumentUriInfo- Specified by:
getFormatin interfaceGetSimplePropertyUriInfo- Specified by:
getFormatin interfaceUriInfo
-
setFilter
public void setFilter(FilterExpression filter)
-
getFilter
public FilterExpression getFilter()
- Specified by:
getFilterin interfaceGetEntityCountUriInfo- Specified by:
getFilterin interfaceGetEntitySetCountUriInfo- Specified by:
getFilterin interfaceGetEntitySetLinksCountUriInfo- Specified by:
getFilterin interfaceGetEntitySetLinksUriInfo- Specified by:
getFilterin interfaceGetEntitySetUriInfo- Specified by:
getFilterin interfaceGetEntityUriInfo- Specified by:
getFilterin interfaceGetMediaResourceUriInfo- Specified by:
getFilterin interfacePutMergePatchUriInfo- Specified by:
getFilterin interfaceUriInfo
-
getCallback
public String getCallback()
- Specified by:
getCallbackin interfaceGetEntityCountUriInfo- Specified by:
getCallbackin interfaceGetEntitySetLinksUriInfo- Specified by:
getCallbackin interfaceGetEntitySetUriInfo- Specified by:
getCallbackin interfaceGetEntityUriInfo- Specified by:
getCallbackin interfaceUriInfo
-
setCallback
public void setCallback(String callback)
-
setInlineCount
public void setInlineCount(InlineCount inlineCount)
-
getInlineCount
public InlineCount getInlineCount()
- Specified by:
getInlineCountin interfaceGetEntitySetLinksUriInfo- Specified by:
getInlineCountin interfaceGetEntitySetUriInfo- Specified by:
getInlineCountin interfaceUriInfo
-
setOrderBy
public void setOrderBy(OrderByExpression orderBy)
-
getOrderBy
public OrderByExpression getOrderBy()
- Specified by:
getOrderByin interfaceGetEntitySetUriInfo- Specified by:
getOrderByin interfaceUriInfo
-
setSkipToken
public void setSkipToken(String skipToken)
-
getSkipToken
public String getSkipToken()
- Specified by:
getSkipTokenin interfaceGetEntitySetLinksUriInfo- Specified by:
getSkipTokenin interfaceGetEntitySetUriInfo- Specified by:
getSkipTokenin interfaceUriInfo
-
setSkip
public void setSkip(Integer skip)
-
getSkip
public Integer getSkip()
- Specified by:
getSkipin interfaceGetEntitySetCountUriInfo- Specified by:
getSkipin interfaceGetEntitySetLinksCountUriInfo- Specified by:
getSkipin interfaceGetEntitySetLinksUriInfo- Specified by:
getSkipin interfaceGetEntitySetUriInfo- Specified by:
getSkipin interfaceUriInfo
-
setTop
public void setTop(Integer top)
-
getTop
public Integer getTop()
- Specified by:
getTopin interfaceGetEntitySetCountUriInfo- Specified by:
getTopin interfaceGetEntitySetLinksCountUriInfo- Specified by:
getTopin interfaceGetEntitySetLinksUriInfo- Specified by:
getTopin interfaceGetEntitySetUriInfo- Specified by:
getTopin interfaceUriInfo
-
setExpand
public void setExpand(List<ArrayList<NavigationPropertySegment>> expand)
-
getExpand
public List<ArrayList<NavigationPropertySegment>> getExpand()
- Specified by:
getExpandin interfaceGetEntitySetUriInfo- Specified by:
getExpandin interfaceGetEntityUriInfo- Specified by:
getExpandin interfaceUriInfo
-
setSelect
public void setSelect(List<SelectItem> select)
-
getSelect
public List<SelectItem> getSelect()
- Specified by:
getSelectin interfaceGetEntitySetUriInfo- Specified by:
getSelectin interfaceGetEntityUriInfo- Specified by:
getSelectin interfaceUriInfo
-
addFunctionImportParameter
public void addFunctionImportParameter(String name, EdmLiteral value)
-
getFunctionImportParameters
public Map<String,EdmLiteral> getFunctionImportParameters()
- Specified by:
getFunctionImportParametersin interfaceDeleteUriInfo- Specified by:
getFunctionImportParametersin interfaceGetComplexPropertyUriInfo- Specified by:
getFunctionImportParametersin interfaceGetEntityCountUriInfo- Specified by:
getFunctionImportParametersin interfaceGetEntityLinkCountUriInfo- Specified by:
getFunctionImportParametersin interfaceGetEntityLinkUriInfo- Specified by:
getFunctionImportParametersin interfaceGetEntitySetCountUriInfo- Specified by:
getFunctionImportParametersin interfaceGetEntitySetLinksCountUriInfo- Specified by:
getFunctionImportParametersin interfaceGetEntitySetLinksUriInfo- Specified by:
getFunctionImportParametersin interfaceGetEntitySetUriInfo- Specified by:
getFunctionImportParametersin interfaceGetEntityUriInfo- Specified by:
getFunctionImportParametersin interfaceGetFunctionImportUriInfo- Specified by:
getFunctionImportParametersin interfaceGetMediaResourceUriInfo- Specified by:
getFunctionImportParametersin interfaceGetSimplePropertyUriInfo- Specified by:
getFunctionImportParametersin interfacePostUriInfo- Specified by:
getFunctionImportParametersin interfacePutMergePatchUriInfo- Specified by:
getFunctionImportParametersin interfaceUriInfo
-
getCustomQueryOptions
public Map<String,String> getCustomQueryOptions()
- Specified by:
getCustomQueryOptionsin interfaceDeleteUriInfo- Specified by:
getCustomQueryOptionsin interfaceGetComplexPropertyUriInfo- Specified by:
getCustomQueryOptionsin interfaceGetEntityCountUriInfo- Specified by:
getCustomQueryOptionsin interfaceGetEntityLinkCountUriInfo- Specified by:
getCustomQueryOptionsin interfaceGetEntityLinkUriInfo- Specified by:
getCustomQueryOptionsin interfaceGetEntitySetCountUriInfo- Specified by:
getCustomQueryOptionsin interfaceGetEntitySetLinksCountUriInfo- Specified by:
getCustomQueryOptionsin interfaceGetEntitySetLinksUriInfo- Specified by:
getCustomQueryOptionsin interfaceGetEntitySetUriInfo- Specified by:
getCustomQueryOptionsin interfaceGetEntityUriInfo- Specified by:
getCustomQueryOptionsin interfaceGetFunctionImportUriInfo- Specified by:
getCustomQueryOptionsin interfaceGetMediaResourceUriInfo- Specified by:
getCustomQueryOptionsin interfaceGetMetadataUriInfo- Specified by:
getCustomQueryOptionsin interfaceGetServiceDocumentUriInfo- Specified by:
getCustomQueryOptionsin interfaceGetSimplePropertyUriInfo- Specified by:
getCustomQueryOptionsin interfacePostUriInfo- Specified by:
getCustomQueryOptionsin interfacePutMergePatchUriInfo- Specified by:
getCustomQueryOptionsin interfaceUriInfo
-
isNew
public boolean isNew()
- Specified by:
isNewin interfaceGetEntitySetUriInfo- Specified by:
isNewin interfaceGetEntityUriInfo- Specified by:
isNewin interfaceUriInfo
-
getClientCallbacks
public List<ClientCallback> getClientCallbacks()
- Specified by:
getClientCallbacksin interfaceGetEntitySetLinksUriInfo- Specified by:
getClientCallbacksin interfaceGetEntitySetUriInfo- Specified by:
getClientCallbacksin interfaceGetEntityUriInfo- Specified by:
getClientCallbacksin interfaceUriInfo
-
getHeaders
public Map<String,List<String>> getHeaders()
- Specified by:
getHeadersin interfaceUriInfo
-
setClientCallbacks
public void setClientCallbacks(List<ClientCallback> clientCallbacks)
-
setNew
public void setNew(boolean isNew)
-
setRawEntity
public void setRawEntity(boolean rawEntity)
-
composeWhere
public boolean composeWhere()
- Specified by:
composeWherein interfaceUriInfo
-
composeWhere
public void composeWhere(boolean composeWhere)
-
getClone
public UriInfoImpl getClone()
-
-