|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.unikassel.android.sdcframework.provider.AbstractContentProviderData
public abstract class AbstractContentProviderData
Abstract base class for content provider types
Field Summary |
---|
Fields inherited from interface de.unikassel.android.sdcframework.provider.facade.ContentProviderData |
---|
_ID, SYNCED, TIMESTAMP |
Fields inherited from interface android.provider.BaseColumns |
---|
_COUNT, _ID |
Constructor Summary | |
---|---|
AbstractContentProviderData()
Constructor |
Method Summary | |
---|---|
String |
getAuthority()
Getter for the authority ( the provider name ) |
protected String |
getColumnDataType(String columnName)
Getter for the database column type ( override this method to add additional columns of extending classes ) |
String |
getContentItemType()
Getter for the item content type |
String |
getContentType()
Getter for the content type |
Uri |
getContentUri()
Getter for the content URI |
String |
getCreateTableStatement()
Getter for the create table statement |
String |
getDBName()
Getter for the database name |
String |
getDBTableName()
Getter for the database table name |
int |
getDBVersion()
Getter for the database version |
HashMap<String,String> |
getProjectionMap()
Getter for the projection map for table column identification |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface de.unikassel.android.sdcframework.provider.facade.ContentProviderData |
---|
getContentTypeName |
Constructor Detail |
---|
public AbstractContentProviderData()
Method Detail |
---|
public final String getDBName()
ContentProviderData
getDBName
in interface ContentProviderData
public final String getDBTableName()
ContentProviderData
getDBTableName
in interface ContentProviderData
public final String getAuthority()
ContentProviderData
getAuthority
in interface ContentProviderData
public final String getContentType()
ContentProviderData
getContentType
in interface ContentProviderData
public final String getContentItemType()
ContentProviderData
getContentItemType
in interface ContentProviderData
public final Uri getContentUri()
ContentProviderData
getContentUri
in interface ContentProviderData
public final int getDBVersion()
ContentProviderData
getDBVersion
in interface ContentProviderData
public HashMap<String,String> getProjectionMap()
ContentProviderData
getProjectionMap
in interface ContentProviderData
public final String getCreateTableStatement()
ContentProviderData
getCreateTableStatement
in interface ContentProviderData
protected String getColumnDataType(String columnName)
columnName
- the row name ( as added as value to the projection map )
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |