de.unikassel.android.sdcframework.provider
Class TagProviderData

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

public final class TagProviderData
extends AbstractContentProviderData

The class holding the tag provider related data.


Field Summary
private static TagProviderData instance
          The singleton instance
static String TEXT
          The tags field
 
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 TagProviderData()
          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

TEXT

public static final String TEXT
The tags field

See Also:
Constant Field Values

instance

private static final TagProviderData instance
The singleton instance

Constructor Detail

TagProviderData

private TagProviderData()
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