1 package uk.ac.vamsas.client;
\r
4 * Holds information about Vobj instances that is held over between different writes to the document.
\r
8 public class Vobjhash {
\r
11 * creates a record of the hash value for a vamsas document object
\r
12 * @param tobemarshalled
\r
14 public Vobjhash(Vobject tobemarshalled) {
\r
15 hashvalue = tobemarshalled.get__last_hash();
\r
18 * compares the old hash value with the unmarshalled object's most recently computed hash value.
\r
19 * @param unmarshalled
\r
20 * @return true if the hash values differ
\r
22 public boolean isUpdated(Vobject unmarshalled) {
\r
23 return hashvalue==unmarshalled.get__last_hash();
\r