Package es.situm.sdk.model.geofencing
Class EventOccurrence
- java.lang.Object
-
- es.situm.sdk.model.geofencing.EventOccurrence
-
- All Implemented Interfaces:
android.os.Parcelable
public class EventOccurrence extends java.lang.Object implements android.os.Parcelable
An event occurrence
-
-
Field Summary
Fields Modifier and Type Field Description static android.os.Parcelable.Creator<EventOccurrence>
CREATOR
-
Constructor Summary
Constructors Constructor Description EventOccurrence()
EventOccurrence(int occurrenceId, int eventId, long phoneId)
EventOccurrence(int eventId, long phoneId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clickedNow()
Alias for this.setWhenClicked(new Date());void
convertedNow()
Alias for this.setWhenConverted(new Date());int
describeContents()
int
getEventId()
int
getId()
long
getPhoneId()
java.util.Date
getWhenClicked()
java.util.Date
getWhenConverted()
boolean
hasId()
boolean
isClicked()
boolean
isConverted()
void
setEventId(int eventId)
Just for internal SDK usevoid
setId(int id)
Just for internal SDK usevoid
setWhenClicked(java.util.Date whenClicked)
void
setWhenConverted(java.util.Date whenConverted)
void
writeToParcel(android.os.Parcel dest, int flags)
-
-
-
Field Detail
-
CREATOR
public static final android.os.Parcelable.Creator<EventOccurrence> CREATOR
-
-
Method Detail
-
hasId
public boolean hasId()
-
isClicked
public boolean isClicked()
-
isConverted
public boolean isConverted()
-
clickedNow
public void clickedNow()
Alias for this.setWhenClicked(new Date());
-
convertedNow
public void convertedNow()
Alias for this.setWhenConverted(new Date());
-
getId
public int getId()
-
getEventId
public int getEventId()
-
getPhoneId
public long getPhoneId()
-
getWhenClicked
public java.util.Date getWhenClicked()
-
getWhenConverted
public java.util.Date getWhenConverted()
-
setId
public void setId(int id)
Just for internal SDK use
-
setEventId
public void setEventId(int eventId)
Just for internal SDK use
-
setWhenClicked
public void setWhenClicked(java.util.Date whenClicked)
-
setWhenConverted
public void setWhenConverted(java.util.Date whenConverted)
-
describeContents
public int describeContents()
- Specified by:
describeContents
in interfaceandroid.os.Parcelable
-
writeToParcel
public void writeToParcel(android.os.Parcel dest, int flags)
- Specified by:
writeToParcel
in interfaceandroid.os.Parcelable
-
-