public class Profile extends java.lang.Object implements IProfile
Profile.Builder
.Modifier and Type | Class and Description |
---|---|
static class |
Profile.Builder
Profile Builder.
|
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<Profile> |
CREATOR
Parcelable CREATOR constant.
|
protected int |
databaseId
The Database id.
|
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
boolean |
equals(java.lang.Object obj) |
static Profile |
from(org.json.JSONObject jsonObject)
Creates new Profile instance from JSON content.
|
int |
getDatabaseId()
Gets database id.
|
java.lang.String |
getDescription()
Gets description.
|
java.util.UUID |
getId()
Gets id.
|
int |
getInterval()
Gets interval.
|
java.lang.String |
getName()
Gets name.
|
java.util.UUID |
getProximityUUID()
Gets proximity uUID.
|
int |
getTxPower()
Gets tx power.
|
int |
hashCode() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<Profile> 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.
protected final int databaseId
SQLiteDatabase
). If you
do not need to use it, ignore it during model building.public java.util.UUID getId()
IProfile
public java.util.UUID getProximityUUID()
IProfile
getProximityUUID
in interface IProfile
public int getInterval()
IProfile
getInterval
in interface IProfile
public int getTxPower()
IProfile
getTxPower
in interface IProfile
public java.lang.String getName()
IProfile
public java.lang.String getDescription()
IProfile
getDescription
in interface IProfile
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public int describeContents()
public void writeToParcel(android.os.Parcel dest, int flags)
public static Profile from(org.json.JSONObject jsonObject)
jsonObject
- the json objectpublic int getDatabaseId()