uk.ac.vamsas.client
Class Vobjhash

java.lang.Object
  extended byuk.ac.vamsas.client.Vobjhash

public class Vobjhash
extends java.lang.Object

Holds information about Vobj instances that is held over between different writes to the document. Currently records the LhashValue obtained from Vobject

Author:
JimP

Constructor Summary
Vobjhash(Vobject tobemarshalled)
          creates a record of the hash value for a vamsas document object
 
Method Summary
 boolean isUpdated(Vobject unmarshalled)
          compares the old hash value with the unmarshalled object's most recently computed hash value and updates internal record.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Vobjhash

public Vobjhash(Vobject tobemarshalled)
creates a record of the hash value for a vamsas document object

Parameters:
tobemarshalled -
Method Detail

isUpdated

public boolean isUpdated(Vobject unmarshalled)
compares the old hash value with the unmarshalled object's most recently computed hash value and updates internal record.

Parameters:
unmarshalled -
Returns:
true if the hash values differ