public class

OfflineODataEvent

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

Class Overview

A built-in Offline OData entity type which stores information about Offline OData events such as upload and download.

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public static Property details
public static Property eventType
public static Property id
public static Property time
[Expand]
Inherited Fields
From class com.sap.cloud.mobile.odata.DataValue
Public Methods
OfflineODataEvent copy()
int describeContents()
Internal implementation.
String getDetails()

Return (nullable) Detailed information for the event.

String getEventType()

Return (nullable) The event type, such as download or upload.

Long getId()

Return (nullable) Event identifier.

OfflineODataEvent getOld()
GlobalDateTime getTime()

Return (nullable) The date and time of the event.

boolean isProxy()
static EntityKey key(Long id)
static List<OfflineODataEvent> list(EntityValueList from)
void setDetails(String value)

Set detailed information for the event.

void setEventType(String value)

Set the event type, such as download or upload.

void setId(Long value)

Set event identifier.

void setTime(GlobalDateTime value)

Set the date and time of the event.

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 details

public static Property eventType

public static Property id

public static Property time

Public Methods

public OfflineODataEvent copy ()

public int describeContents ()

Internal implementation. Ignore it.

public String getDetails ()

Return (nullable) Detailed information for the event. For example, the subset of the defining queries that were used for a download.

Returns
  • (nullable) Detailed information for the event. For example, the subset of the defining queries that were used for a download.

public String getEventType ()

Return (nullable) The event type, such as download or upload.

Returns
  • (nullable) The event type, such as download or upload.

public Long getId ()

Return (nullable) Event identifier.

Returns
  • (nullable) Event identifier.

public OfflineODataEvent getOld ()

public GlobalDateTime getTime ()

Return (nullable) The date and time of the event.

Returns
  • (nullable) The date and time of the event.

public boolean isProxy ()

public static EntityKey key (Long id)

public static List<OfflineODataEvent> list (EntityValueList from)

public void setDetails (String value)

Set detailed information for the event. For example, the subset of the defining queries that were used for a download.

Parameters
value Detailed information for the event. For example, the subset of the defining queries that were used for a download.

public void setEventType (String value)

Set the event type, such as download or upload.

Parameters
value The event type, such as download or upload.

public void setId (Long value)

Set event identifier.

Parameters
value Event identifier.

public void setTime (GlobalDateTime value)

Set the date and time of the event.

Parameters
value The date and time of the event.

public void writeToParcel (Parcel out, int flags)

Internal implementation. Ignore it.