java.lang.Object
software.xdev.spring.data.eclipse.store.repository.support.copier.id.NotSettingIdSetter<T>
All Implemented Interfaces:
IdSetter <T>
public class NotSettingIdSetter<T>
extends Object
implements IdSetter <T>
Constructor Summary
Constructors
Method Summary
All Methods Instance Methods Concrete Methods
void
This method makes sure, that an id is set for the given object.
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
Constructor Details
NotSettingIdSetter
public NotSettingIdSetter ()
Method Details
ensureId
public void ensureId (T objectToSetIdIn)
Description copied from interface: IdSetter
This method makes sure, that an id is set for the given object. If it is already set (not null), then nothing is
done. If it is not set, a new one will be generated and set.
Specified by:
ensureId in interface IdSetter <T >