de.unikassel.android.sdcframework.provider
Class TwitterProviderData

Package class diagram package TwitterProviderData
java.lang.Object
  extended by de.unikassel.android.sdcframework.provider.AbstractContentProviderData
      extended by de.unikassel.android.sdcframework.provider.TwitterProviderData
All Implemented Interfaces:
BaseColumns, ContentProviderData

public final class TwitterProviderData
extends AbstractContentProviderData

The class holding the twitter provider related data.


Field Summary
private static TwitterProviderData instance
          The singleton instance
static String MESSAGE
          The twitter message
 
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
private TwitterProviderData()
          Constructor
 
Method Summary
 String getContentTypeName()
          Getter for the content type name
static ContentProviderData getInstance()
          Getter for the singleton instance
 HashMap<String,String> getProjectionMap()
          Getter for the projection map for table column identification
 
Methods inherited from class de.unikassel.android.sdcframework.provider.AbstractContentProviderData
getAuthority, getColumnDataType, getContentItemType, getContentType, getContentUri, getCreateTableStatement, getDBName, getDBTableName, getDBVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MESSAGE

public static final String MESSAGE
The twitter message

See Also:
Constant Field Values

instance

private static final TwitterProviderData instance
The singleton instance

Constructor Detail

TwitterProviderData

private TwitterProviderData()
Constructor

Method Detail

getInstance

public static final ContentProviderData getInstance()
Getter for the singleton instance

Returns:
the singleton instance

getContentTypeName

public String getContentTypeName()
Description copied from interface: ContentProviderData
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 )

getProjectionMap

public HashMap<String,String> getProjectionMap()
Description copied from interface: ContentProviderData
Getter for the projection map for table column identification

Specified by:
getProjectionMap in interface ContentProviderData
Overrides:
getProjectionMap in class AbstractContentProviderData
Returns:
the projection map