Salome HOME
Refactoring of Database, replacing SQL by DAOs calls. Methods for search by criteria...
[tools/siman.git] / Workspace / Siman-Common / src / org / splat / dal / bo / kernel / Persistent.java
index 11aa5c432a6d7a64cda966e270d8ec2a05c7cd07..42629f251affcbab6394d7d14ededace60add091 100644 (file)
@@ -138,4 +138,20 @@ public abstract class Persistent {
       if (oid == 0) oid = super.hashCode();               //WARNING: Must not call super.toString() as it goes back here (this.toString())
       return new StringBuffer("object ").append(getClass().getName()).append("@").append(oid).toString();
     }
+
+/**
+ * Get the rid.
+ * @return the rid
+ */
+public long getRid() {
+       return rid;
+}
+
+/**
+ * Set the rid.
+ * @param rid the rid to set
+ */
+public void setRid(long rid) {
+       this.rid = rid;
+}
 }
\ No newline at end of file