public class

OfflineODataRequest

extends EntityValue
implements Parcelable
java.lang.Object
   ↳ com.sap.cloud.mobile.odata.DataValue
     ↳ com.sap.cloud.mobile.odata.StructureBase
       ↳ com.sap.cloud.mobile.odata.EntityValue
         ↳ com.sap.cloud.mobile.odata.offline.OfflineODataRequest

Class Overview

A built-in Offline OData entity type which stores information about Offline OData requests to the backend service.

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public static Property body
public static Property method
public static Property requestID
public static Property status
public static Property url
[Expand]
Inherited Fields
From class com.sap.cloud.mobile.odata.DataValue
Public Methods
OfflineODataRequest copy()
int describeContents()
Internal implementation.
String getBody()

Return (nullable) The JSON body sent to the OData backend.

String getMethod()

Return (nullable) The HTTP method of the request.

OfflineODataRequest getOld()
Long getRequestID()

Return (nullable) The request identifier.

String getStatus()

Return (nullable) The status of the request: Unsent, Sent or Failed.

String getUrl()

Return (nullable) The request URL used when executing the request against the OData backend.

boolean isProxy()
static EntityKey key(Long requestID)
static List<OfflineODataRequest> list(EntityValueList from)
void setBody(String value)

Set the JSON body sent to the OData backend.

void setMethod(String value)

Set the HTTP method of the request.

void setRequestID(Long value)

Set the request identifier.

void setStatus(String value)

Set the status of the request: Unsent, Sent or Failed.

void setUrl(String value)

Set the request URL used when executing the request against the OData backend.

void writeToParcel(Parcel out, int flags)
Internal implementation.
[Expand]
Inherited Methods
From class com.sap.cloud.mobile.odata.EntityValue
From class com.sap.cloud.mobile.odata.StructureBase
From class com.sap.cloud.mobile.odata.DataValue
From class java.lang.Object
From interface android.os.Parcelable

Fields

public static Property body

public static Property method

public static Property requestID

public static Property status

public static Property url

Public Methods

public OfflineODataRequest copy ()

public int describeContents ()

Internal implementation. Ignore it.

public String getBody ()

Return (nullable) The JSON body sent to the OData backend.

Returns
  • (nullable) The JSON body sent to the OData backend.

public String getMethod ()

Return (nullable) The HTTP method of the request.

Returns
  • (nullable) The HTTP method of the request.

public OfflineODataRequest getOld ()

public Long getRequestID ()

Return (nullable) The request identifier.

Returns
  • (nullable) The request identifier.

public String getStatus ()

Return (nullable) The status of the request: Unsent, Sent or Failed.

Returns
  • (nullable) The status of the request: Unsent, Sent or Failed.

public String getUrl ()

Return (nullable) The request URL used when executing the request against the OData backend.

Returns
  • (nullable) The request URL used when executing the request against the OData backend.

public boolean isProxy ()

public static EntityKey key (Long requestID)

public static List<OfflineODataRequest> list (EntityValueList from)

public void setBody (String value)

Set the JSON body sent to the OData backend.

Parameters
value The JSON body sent to the OData backend.

public void setMethod (String value)

Set the HTTP method of the request.

Parameters
value The HTTP method of the request.

public void setRequestID (Long value)

Set the request identifier.

Parameters
value The request identifier.

public void setStatus (String value)

Set the status of the request: Unsent, Sent or Failed.

Parameters
value The status of the request: Unsent, Sent or Failed.

public void setUrl (String value)

Set the request URL used when executing the request against the OData backend.

Parameters
value The request URL used when executing the request against the OData backend.

public void writeToParcel (Parcel out, int flags)

Internal implementation. Ignore it.