1 21 package oracle.toplink.essentials.changesets; 23 24 import java.util.Vector ; 25 import oracle.toplink.essentials.sessions.Session; 26 27 35 public interface ObjectChangeSet { 36 boolean equals(ObjectChangeSet objectChange); 37 38 42 Vector getChangedAttributeNames(); 43 44 48 Vector getChanges(); 49 50 54 Class getClassType(Session session); 55 56 60 String getClassName(); 61 62 67 Object getOldKey(); 68 69 74 Object getNewKey(); 75 76 80 Vector getPrimaryKeys(); 81 82 86 UnitOfWorkChangeSet getUOWChangeSet(); 87 88 92 Object getWriteLockValue(); 93 94 98 ChangeRecord getChangesForAttributeNamed(String attributeName); 99 100 105 boolean hasChangeFor(String attributeName); 106 107 111 boolean hasChanges(); 112 113 117 boolean isNew(); 118 } 119 | Popular Tags |