DynamoDBIdIsHashKeyEntityInformationImpl
public class FieldAndGetterReflectionEntityInformation<T,ID>
extends org.springframework.data.repository.core.support.AbstractEntityInformation<T,ID>
EntityInformation
implementation that inspects getters for an annotation and invokes this
getter's value to retrieve the id.Constructor | Description |
---|---|
FieldAndGetterReflectionEntityInformation(Class<T> domainClass,
Class<? extends Annotation> annotation) |
Creates a new
FieldAndGetterReflectionEntityInformation inspecting
the given domain class for a getter carrying the given annotation. |
Modifier and Type | Method | Description |
---|---|---|
ID |
getId(T entity) |
|
Class<ID> |
getIdType() |
getJavaType, isNew
protected Method method
public FieldAndGetterReflectionEntityInformation(@NonNull Class<T> domainClass, @NonNull Class<? extends Annotation> annotation)
FieldAndGetterReflectionEntityInformation
inspecting
the given domain class for a getter carrying the given annotation.domainClass
- must not be null.annotation
- must not be null.Copyright © 2018. All rights reserved.