public class Namespace extends java.lang.Object implements INamespace, android.os.Parcelable
Modifier and Type | Class and Description |
---|---|
static class |
Namespace.Builder |
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<Namespace> |
CREATOR |
protected int |
databaseId
The Database id.
|
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
static INamespace |
from(org.json.JSONObject jsonObject) |
static java.util.List<INamespace> |
fromList(org.json.JSONObject jsonObject) |
int |
getDatabaseId()
Gets database id.
|
java.lang.String |
getNamespace()
Gets namespace
|
java.lang.String |
getSecureNamespace()
Gets secure namespace
|
boolean |
isShared()
Checks if namespace is shared to you
|
boolean |
isShuffled()
Checks is namespace shuffled or not
|
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<Namespace> CREATOR
protected final int databaseId
SQLiteDatabase
). If you
do not need to use it, ignore it during model building.public java.lang.String getNamespace()
INamespace
getNamespace
in interface INamespace
public java.lang.String getSecureNamespace()
INamespace
getSecureNamespace
in interface INamespace
public boolean isShuffled()
INamespace
isShuffled
in interface INamespace
public boolean isShared()
INamespace
isShared
in interface INamespace
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable
public static INamespace from(org.json.JSONObject jsonObject)
public static java.util.List<INamespace> fromList(org.json.JSONObject jsonObject)
public int getDatabaseId()
public int describeContents()