de.unikassel.android.sdcframework.provider
Class AudioProviderData

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

public final class AudioProviderData
extends AbstractContentProviderData

The class holding the audio provider related data.


Field Summary
private static AudioProviderData instance
          The singleton instance
static String LOCATION
          The sound record location
 
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 AudioProviderData()
          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

LOCATION

public static final String LOCATION
The sound record location

See Also:
Constant Field Values

instance

private static final AudioProviderData instance
The singleton instance

Constructor Detail

AudioProviderData

private AudioProviderData()
Constructor

Method Detail

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 )

getInstance

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

Returns:
the singleton instance

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