Commits

Anonymous committed 218bbe0

Added entityId field for Hibernate persistence

Comments (0)

Files changed (1)

src/java/com/opensymphony/workflow/loader/AbstractDescriptor.java

 
     private AbstractDescriptor parent;
     private boolean hasId = false;
+    private int entityId;
     private int id;
 
     //~ Methods ////////////////////////////////////////////////////////////////
 
+    public void setEntityId(int entityId) {
+        this.entityId = entityId;
+    }
+
+    public int getEntityId() {
+        return entityId;
+    }
+
     public void setId(int id) {
         this.id = id;
         hasId = true;