public class Table
extends java.lang.Object
implements android.os.Parcelable
| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<Table> |
CREATOR |
| Constructor and Description |
|---|
Table() |
Table(java.lang.String tableName)
Create a Table object by passing its name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addColumn(Column column)
Add a column to the Table object.
|
int |
describeContents() |
java.util.ArrayList<Column> |
getColumns()
Returns the Column objects.
|
java.lang.String |
getTableName()
Returns the name of the table.
|
int |
getTableVersion()
Get Table version.
|
void |
setTableVersion(int tableVersion)
Sets the version of the Table.
|
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<Table> CREATOR
public Table()
public Table(java.lang.String tableName)
tableName - Name of the Table.public void addColumn(Column column)
column - the column to add.public java.lang.String getTableName()
public int getTableVersion()
public void setTableVersion(int tableVersion)
tableVersion - version of the Tablepublic java.util.ArrayList<Column> getColumns()
public int describeContents()
describeContents in interface android.os.Parcelablepublic void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.Parcelable