Interface PersistenceParam
- All Known Implementing Classes:
DefaultPersistenceParam
public interface PersistenceParam
Defines the parameters needed to perform the persistence operation
-
Method Summary
Modifier and TypeMethodDescriptionGets the payload of the requestorg.apache.olingo.odata2.api.processor.ODataContextGets the context of the request as anODataContextorg.apache.olingo.odata2.api.edm.EdmEntitySetGets theEdmEntitySetorg.apache.olingo.odata2.api.edm.EdmEntityTypeGets theEdmEntityTypeGets the content type of the payloadGets the response content typeorg.apache.olingo.odata2.api.uri.UriInfoGets theUriInfo
-
Method Details
-
getUriInfo
org.apache.olingo.odata2.api.uri.UriInfo getUriInfo()Gets theUriInfo- Returns:
- URI info
-
getEntitySet
org.apache.olingo.odata2.api.edm.EdmEntitySet getEntitySet()Gets theEdmEntitySet- Returns:
- entity set
-
getEntityType
org.apache.olingo.odata2.api.edm.EdmEntityType getEntityType()Gets theEdmEntityType- Returns:
- entity type
-
getContent
InputStream getContent()Gets the payload of the request- Returns:
- content
-
getRequestContentType
String getRequestContentType()Gets the content type of the payload- Returns:
- content type
-
getResponseContentType
String getResponseContentType()Gets the response content type- Returns:
- content type
-
getContext
org.apache.olingo.odata2.api.processor.ODataContext getContext()Gets the context of the request as anODataContext- Returns:
- context
-