Spring Data Commmons

org.springframework.data.repository.support
Interface IdAware

All Known Implementing Classes:
PersistableEntityInformation, ReflectiveEntityInformationSupport

public interface IdAware

Interface to abstract the ways to retrieve the id of the given entity.

Author:
Oliver Gierke

Method Summary
 Object getId(Object entity)
          Returns the id of the given entity.
 

Method Detail

getId

Object getId(Object entity)
Returns the id of the given entity.

Parameters:
entity -
Returns:

Spring Data Commmons

Copyright © 2011. All Rights Reserved.