public class Company extends java.lang.Object implements ICompany
Company.Builder
.Modifier and Type | Class and Description |
---|---|
static class |
Company.Builder
Company Builder.
|
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 obj) |
static Company |
from(JSONObject jsonObject)
Creates new Company instance from JSON content.
|
java.lang.String |
getCountryCode()
Gets country code.
|
int |
getDatabaseId()
Gets database id.
|
java.util.UUID |
getId()
Gets id.
|
java.lang.String |
getName()
Gets name.
|
java.lang.String |
getUniqueId()
Gets unique id.
|
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.
protected final int databaseId
android.database.sqlite.SQLiteDatabase
). If you
do not need to use it, ignore it during model building.public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.util.UUID getId()
ICompany
public java.lang.String getCountryCode()
ICompany
getCountryCode
in interface ICompany
public java.lang.String getName()
ICompany
public java.lang.String getUniqueId()
ICompany
getUniqueId
in interface ICompany
public static Company from(JSONObject jsonObject)
jsonObject
- the json objectpublic void writeToParcel(Parcel dest, int flags)
public int getDatabaseId()
public int describeContents()