com.amazonaws.mobileconnectors.dynamodbv2.dynamodbmapper
Interface DynamoDBMapperConfig.ObjectTableNameResolver

Enclosing class:
DynamoDBMapperConfig

public static interface DynamoDBMapperConfig.ObjectTableNameResolver

Interface for a strategy used to determine the table name of an object based on it's class. This resolver is used when an object is available such as in DynamoDBMapper.batchLoad(java.util.List). If no table name resolver for objects is set, DynamoDBMapper reverts to using the DynamoDBMapperConfig.TableNameResolver on each object's class.

Author:
Raniz
See Also:
DynamoDBMapperConfig.TableNameResolver

Method Summary
 java.lang.String getTableName(java.lang.Object object, DynamoDBMapperConfig config)
          Get the table name for an object.
 

Method Detail

getTableName

java.lang.String getTableName(java.lang.Object object,
                              DynamoDBMapperConfig config)
Get the table name for an object.

Parameters:
object - The object to get the table name for
config - The DynamoDBMapperConfig
Returns:
The table name to use for object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.