public static final class DynamoDBVersionAttribute.Generator<T> extends Object implements DynamoDBAutoGenerator<T>
| Constructor and Description |
|---|
Generator(Class<T> targetType,
DynamoDBVersionAttribute annotation) |
| Modifier and Type | Method and Description |
|---|---|
T |
generate(T currentValue)
Generates a new value given the current value (or null) if applicable.
|
DynamoDBAutoGenerateStrategy |
getGenerateStrategy()
Gets the auto-generate strategy.
|
public Generator(Class<T> targetType, DynamoDBVersionAttribute annotation)
public final DynamoDBAutoGenerateStrategy getGenerateStrategy()
DynamoDBAutoGeneratorgetGenerateStrategy in interface DynamoDBAutoGenerator<T>public final T generate(T currentValue)
DynamoDBAutoGeneratorgenerate in interface DynamoDBAutoGenerator<T>Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.