001package io.ebean; 002 003/** 004 * Owner object notified when a modification is detected. 005 */ 006public interface ModifyAwareType { 007 008 /** 009 * Return true if the value is considered dirty. 010 * Note that this resets the dirty status back to clean. 011 */ 012 boolean isMarkedDirty(); 013 014 /** 015 * Marks the object as modified. 016 */ 017 void setMarkedDirty(boolean markedDirty); 018 019}