Commits

masini  committed 218bbe0

Added entityId field for Hibernate persistence

  • Participants
  • Parent commits da63c83

Comments (0)

Files changed (1)

File 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;