* to any object in the vamsas document
*/
protected boolean __stored_in_document=false;
- protected VorbaId __vorba__id=null;
- protected VorbaIdFactory __vorba=null;
+ protected long __last_hash=0;
+ protected VorbaId vorbaId=null;
+ protected IVorbaIdFactory __vorba=null;
/**
*
* @return true if object is registered
*/
public boolean isRegistered() {
- return (__vorba__id!=null);
+ return (vorbaId!=null);
}
/**
* Method to get fixed reference for
* or not associated with a properly instantiated
* VorbaIdFactory.
*/
- public String getId() {
- if (__vorba__id==null) {
+ public String getVorbaId() {
+ if (vorbaId==null) {
// Try to use the associated factory.
if (__vorba!=null)
- if ((__vorba__id = __vorba.makeVorbaId())==null)
+ if ((vorbaId = __vorba.makeVorbaId())==null)
return null; // Factory not valid.
else
return null;
}
- return __vorba__id.getId();
+ return vorbaId.getId();
}
/**
- * used by the Iclient implementation
+ * used by the IClient implementation
* to generate unique Id based on
* client applications current namespace.
*/
protected void setVorbaId(VorbaId newid) {
- __vorba__id = newid;
+ vorbaId = newid;
}
/**
protected void set__stored_in_document(boolean __stored_in_document) {
this.__stored_in_document = __stored_in_document;
}
+ /**
+ * __last_hash is the hash value computed
+ * when the object was last checked against
+ * a IClientDocument generated by the
+ * object's parent IClient instance.
+ * @return Returns the __last_hash.
+ */
+ public long get__last_hash() {
+ return __last_hash;
+ }
}