public static final class DynamoDBAutoGeneratedDefault.Generator<T> extends Object implements DynamoDBAutoGenerator<T>
Constructor and Description |
---|
DynamoDBAutoGeneratedDefault.Generator(Class<T> targetType,
DynamoDBAutoGeneratedDefault 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 DynamoDBAutoGeneratedDefault.Generator(Class<T> targetType, DynamoDBAutoGeneratedDefault annotation)
public final DynamoDBAutoGenerateStrategy getGenerateStrategy()
DynamoDBAutoGenerator
getGenerateStrategy
in interface DynamoDBAutoGenerator<T>
public final T generate(T currentValue)
DynamoDBAutoGenerator
generate
in interface DynamoDBAutoGenerator<T>
Copyright © 2016. All rights reserved.