
org.hibernate.examples.model.PersistentObject Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-examples Show documentation
Show all versions of hibernate-examples Show documentation
Hibernate 2nd level cache using Redis examples.
The newest version!
package org.hibernate.examples.model;
/**
* 영구 저장된 객체인지를 표현하는 Interface입니다.
*
* @author 배성혁 [email protected]
* @since 2013. 11. 27. 오후 2:37
*/
public interface PersistentObject extends ValueObject {
boolean isPersisted();
/**
* Object 가 저장되었을 때 #isPersisted() 를 true로 갱신한다.
*/
void onSave();
/**
* Object 가 영구저장소에서 로드될 때 #isPersisted() 를 true 로 갱신한다.
*/
void onLoad();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy