public class VesselModel extends HierarchicalModel<LocationModel>
BaseModel.ErrorType| Modifier and Type | Field and Description |
|---|---|
static String[] |
ALL_COLUMNS |
static String |
COLUMN_COMMENT |
static String |
COLUMN_LANDING_DATE |
static String |
COLUMN_LANDING_LOCATION |
static String |
COLUMN_LOCATION_ID |
static String |
COLUMN_NAME |
static String |
COLUMN_REGISTRATION_NUMBER |
protected String |
comment |
protected Calendar |
landingDate |
protected Location |
landingLocation |
protected String |
name |
protected String |
registrationNumber |
static String |
TABLE_NAME |
parentchangeSupport, GET_ID_FUNCTION, id, modified| Constructor and Description |
|---|
VesselModel() |
VesselModel(android.content.Context context,
android.database.Cursor cursor) |
| Modifier and Type | Method and Description |
|---|---|
android.content.ContentValues |
convertIntoContentValues() |
String |
getComment() |
Calendar |
getLandingDate() |
Location |
getLandingLocation() |
String |
getName() |
Set<Set<String>> |
getOneRequiredFields() |
String |
getRegistrationNumber() |
String |
getTableName() |
void |
setComment(String comment) |
void |
setLandingDate(Calendar landingDate) |
void |
setLandingLocation(Location landingLocation) |
void |
setName(String name) |
void |
setRegistrationNumber(String registrationNumber) |
void |
setRegistrationNumber(Vessel vessel) |
String |
toString(android.content.Context context) |
getParent, getParent, getParentId, setParentaddPropertyChangeListener, addPropertyChangeListener, checkValidity, equals, firePropertyChange, getId, getRequiredFields, hashCode, isModified, isNew, putValue, putValue, putValue, putValue, setId, setModifiedpublic static final String TABLE_NAME
public static final String COLUMN_REGISTRATION_NUMBER
public static final String COLUMN_NAME
public static final String COLUMN_LANDING_DATE
public static final String COLUMN_LANDING_LOCATION
public static final String COLUMN_COMMENT
public static final String COLUMN_LOCATION_ID
public static final String[] ALL_COLUMNS
protected String registrationNumber
protected String name
protected Calendar landingDate
protected Location landingLocation
protected String comment
public VesselModel()
public VesselModel(android.content.Context context,
android.database.Cursor cursor)
public String getRegistrationNumber()
public void setRegistrationNumber(String registrationNumber)
public void setRegistrationNumber(Vessel vessel)
public String getName()
public void setName(String name)
public Calendar getLandingDate()
public void setLandingDate(Calendar landingDate)
public Location getLandingLocation()
public void setLandingLocation(Location landingLocation)
public String getComment()
public void setComment(String comment)
public String getTableName()
getTableName in class BaseModelpublic String toString(android.content.Context context)
public android.content.ContentValues convertIntoContentValues()
convertIntoContentValues in class BaseModelpublic Set<Set<String>> getOneRequiredFields()
getOneRequiredFields in class BaseModelCopyright © 2013–2014 CodeLutin. All rights reserved.