public class BrowserAction extends java.lang.Object implements IBrowserAction
By convention this model is fully immutable.
To create new instance of the model, please use the BrowserAction.Builder
.
Modifier and Type | Class and Description |
---|---|
static class |
BrowserAction.Builder
The type Builder.
|
IAction.ActionType
Modifier and Type | Field and Description |
---|---|
static <any> |
CREATOR
Parcelable CREATOR constant.
|
protected int |
databaseId
The Database id.
|
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
boolean |
equals(java.lang.Object o) |
static BrowserAction |
from(JSONObject jsonObject)
Creates BrowserAction from JSON Object
|
int |
getDatabaseId()
Gets database id.
|
IDevice |
getDevice()
Gets Proximity Source.
|
java.util.UUID |
getId()
Gets Action id.
|
Proximity |
getProximity()
Gets proximity.
|
IAction.ActionType |
getType()
Gets Action type.
|
java.lang.String |
getUrl()
Gets url.
|
int |
hashCode() |
void |
writeToParcel(Parcel dest,
int flags) |
public static final <any> CREATOR
StackOverflowError
FileData
as its member will be recreated
with this member set to null. Please organise the access to the data in different way.
For more information concerning parceling see attached links.
protected final int databaseId
android.database.sqlite.SQLiteDatabase
). If you
do not need to use it, ignore it during model building.public java.util.UUID getId()
IAction
public Proximity getProximity()
IAction
getProximity
in interface IAction
public IAction.ActionType getType()
IAction
public IDevice getDevice()
IAction
public java.lang.String getUrl()
IBrowserAction
getUrl
in interface IBrowserAction
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public void writeToParcel(Parcel dest, int flags)
public static BrowserAction from(JSONObject jsonObject)
jsonObject
- the json objectpublic int getDatabaseId()
public int describeContents()