Spring Data Commmons

org.springframework.data.repository.support
Interface IsNewAware

All Known Implementing Classes:
PersistableEntityInformation, ReflectiveEntityInformationSupport

public interface IsNewAware

Interface to abstract the ways to determine if the given entity is to be considered as new.

Author:
Oliver Gierke

Method Summary
 boolean isNew(Object entity)
          Returns whether the given entity is considered to be new.
 

Method Detail

isNew

boolean isNew(Object entity)
Returns whether the given entity is considered to be new.

Parameters:
entity -
Returns:

Spring Data Commmons

Copyright © 2011. All Rights Reserved.