roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agillil...@apache.org
Subject svn commit: r495792 - /incubator/roller/trunk/src/org/apache/roller/pojos/TaskLockData.java
Date Sat, 13 Jan 2007 00:06:01 GMT
Author: agilliland
Date: Fri Jan 12 16:06:00 2007
New Revision: 495792

URL: http://svn.apache.org/viewvc?view=rev&rev=495792
Log:
add access to clientId persisted field.


Modified:
    incubator/roller/trunk/src/org/apache/roller/pojos/TaskLockData.java

Modified: incubator/roller/trunk/src/org/apache/roller/pojos/TaskLockData.java
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/src/org/apache/roller/pojos/TaskLockData.java?view=diff&rev=495792&r1=495791&r2=495792
==============================================================================
--- incubator/roller/trunk/src/org/apache/roller/pojos/TaskLockData.java (original)
+++ incubator/roller/trunk/src/org/apache/roller/pojos/TaskLockData.java Fri Jan 12 16:06:00
2007
@@ -38,6 +38,7 @@
     private Date timeAquired = null;
     private int timeLeased = 0;
     private Date lastRun = null;
+    private String clientId = null;
     
     
     public TaskLockData() {}
@@ -187,6 +188,18 @@
 
     public void setTimeLeased(int timeLeased) {
         this.timeLeased = timeLeased;
+    }
+
+    /**
+     * @ejb:persistent-field
+     * @hibernate.property column="client" non-null="false" unique="false"
+     */
+    public String getClientId() {
+        return clientId;
+    }
+
+    public void setClientId(String clientId) {
+        this.clientId = clientId;
     }
     
 }



Mime
View raw message