de.unikassel.android.sdcframework.provider.facade
Interface ContentProviderData

Package class diagram package ContentProviderData
All Known Implementing Classes:
AbstractContentProviderData, AudioProviderData, TagProviderData, TwitterProviderData

public interface ContentProviderData

Interface for content provider data definition types.


Field Summary
static String _ID
          The unique row identifier
static String SYNCED
          The column name for synchronization state
static String TIMESTAMP
          The column name for sample data time stamp
 
Method Summary
 String getAuthority()
          Getter for the authority ( the provider name )
 String getContentItemType()
          Getter for the item content type
 String getContentType()
          Getter for the content type
 String getContentTypeName()
          Getter for the content type name
 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
 

Field Detail

_ID

static final String _ID
The unique row identifier

See Also:
Constant Field Values

TIMESTAMP

static final String TIMESTAMP
The column name for sample data time stamp

See Also:
Constant Field Values

SYNCED

static final String SYNCED
The column name for synchronization state

See Also:
Constant Field Values
Method Detail

getContentTypeName

String getContentTypeName()
Getter for the content type name

Returns:
the content type name ( must be unique for all content types, used as table name and to build authority, database name and content URI )

getDBName

String getDBName()
Getter for the database name

Returns:
the database name

getDBTableName

String getDBTableName()
Getter for the database table name

Returns:
the database table name

getAuthority

String getAuthority()
Getter for the authority ( the provider name )

Returns:
the authority

getContentUri

Uri getContentUri()
Getter for the content URI

Returns:
the content URI

getContentType

String getContentType()
Getter for the content type

Returns:
the content type for the directory

getContentItemType

String getContentItemType()
Getter for the item content type

Returns:
the content type for items

getDBVersion

int getDBVersion()
Getter for the database version

Returns:
the database version

getCreateTableStatement

String getCreateTableStatement()
Getter for the create table statement

Returns:
the create table statement

getProjectionMap

HashMap<String,String> getProjectionMap()
Getter for the projection map for table column identification

Returns:
the projection map