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 Metadata of the entity property body.
public static Property method Metadata of the entity property method.
public static Property requestID Metadata of the entity property requestID.
public static Property status Metadata of the entity property status.
public static Property url Metadata of the entity property url.
[Expand]
Inherited Fields
From class com.sap.cloud.mobile.odata.DataValue
Public Methods
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.

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()
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

Metadata of the entity property body.

public static Property method

Metadata of the entity property method.

public static Property requestID

Metadata of the entity property requestID.

public static Property status

Metadata of the entity property status.

public static Property url

Metadata of the entity property url.

Public Methods

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 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 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.