public class MeasurementModel extends HierarchicalModel<ScientificSpeciesModel>
BaseModel.ErrorType| Modifier and Type | Field and Description |
|---|---|
static String[] |
ALL_COLUMNS |
protected String |
category1 |
protected String |
category2 |
protected String |
category3 |
static String |
COLUMN_CATEGORY_1 |
static String |
COLUMN_CATEGORY_2 |
static String |
COLUMN_CATEGORY_3 |
static String |
COLUMN_DATE |
static String |
COLUMN_SCIENTIFIC_SPECIES_ID |
static String |
COLUMN_SIZE |
protected Calendar |
date |
protected Integer |
size |
static String |
TABLE_NAME |
parentchangeSupport, GET_ID_FUNCTION, id, modified| Constructor and Description |
|---|
MeasurementModel() |
MeasurementModel(android.database.Cursor cursor) |
| Modifier and Type | Method and Description |
|---|---|
android.content.ContentValues |
convertIntoContentValues() |
void |
decSize(int dec) |
String |
getCategory1() |
String |
getCategory2() |
String |
getCategory3() |
Calendar |
getDate() |
Integer |
getSize() |
String |
getTableName() |
void |
incSize(int inc) |
void |
roundSize(Mensuration.Precision precision) |
void |
setCategory1(String category1) |
void |
setCategory2(String category2) |
void |
setCategory3(String category3) |
void |
setDate(Calendar date) |
void |
setSize(Integer size) |
String |
toString(android.content.Context context,
Mensuration.Precision precision) |
getParent, getParent, getParentId, setParentaddPropertyChangeListener, addPropertyChangeListener, checkValidity, equals, firePropertyChange, getId, getOneRequiredFields, getRequiredFields, hashCode, isModified, isNew, putValue, putValue, putValue, putValue, setId, setModified, toStringpublic static final String TABLE_NAME
public static final String COLUMN_SIZE
public static final String COLUMN_DATE
public static final String COLUMN_CATEGORY_1
public static final String COLUMN_CATEGORY_2
public static final String COLUMN_CATEGORY_3
public static final String COLUMN_SCIENTIFIC_SPECIES_ID
public static final String[] ALL_COLUMNS
protected Integer size
protected Calendar date
protected String category1
protected String category2
protected String category3
public MeasurementModel()
public MeasurementModel(android.database.Cursor cursor)
public String getTableName()
getTableName in class BaseModelpublic Integer getSize()
public void setSize(Integer size)
public void incSize(int inc)
public void decSize(int dec)
public void roundSize(Mensuration.Precision precision)
public Calendar getDate()
public void setDate(Calendar date)
public String getCategory1()
public void setCategory1(String category1)
public String getCategory2()
public void setCategory2(String category2)
public String getCategory3()
public void setCategory3(String category3)
public String toString(android.content.Context context, Mensuration.Precision precision)
public android.content.ContentValues convertIntoContentValues()
convertIntoContentValues in class BaseModelCopyright © 2013–2014 CodeLutin. All rights reserved.