org.springframework.data.jpa.repository.support
Interface JpaEntityInformation<T,ID extends Serializable>
- All Superinterfaces:
- org.springframework.data.repository.support.EntityInformation<T,ID>, org.springframework.data.repository.support.EntityMetadata<T>
- All Known Implementing Classes:
- JpaMetamodelEntityInformation, JpaPersistableEntityInformation
public interface JpaEntityInformation<T,ID extends Serializable>
- extends org.springframework.data.repository.support.EntityInformation<T,ID>
Extension of EntityInformation
to capture aditional JPA specific
information about entities.
- Author:
- Oliver Gierke
Method Summary |
javax.persistence.metamodel.SingularAttribute<? super T,?> |
getIdAttribute()
Returns the id attribute of the entity. |
Methods inherited from interface org.springframework.data.repository.support.EntityInformation |
getId, getIdType, isNew |
Methods inherited from interface org.springframework.data.repository.support.EntityMetadata |
getJavaType |
getIdAttribute
javax.persistence.metamodel.SingularAttribute<? super T,?> getIdAttribute()
- Returns the id attribute of the entity.
- Returns:
Copyright © 2011 SpringSource. All Rights Reserved.