1 4 5 package org.enhydra.shark.instancepersistence; 6 7 import org.enhydra.shark.api.internal.instancepersistence.DeadlinePersistenceInterface; 8 import org.enhydra.shark.utilities.hibernate.HibernateGeneric; 9 import org.enhydra.shark.utilities.hibernate.HibernateObjectUtil; 10 11 15 public class HibernateDeadline extends HibernateObjectUtil implements DeadlinePersistenceInterface, HibernateGeneric { 16 17 private String processId; 18 private String activityId; 19 private long timeLimit; 20 private String exceptionName; 21 private boolean isSynchronous; 22 23 private int dbId = -1; 24 25 public int getDbId() { 26 return dbId; 27 } 28 29 public void setDbId(int dbId) { 30 this.dbId = dbId; 31 } 32 33 public void setProcessId (String procId) { 34 this.processId=procId; 35 } 36 37 public String getProcessId () { 38 return processId; 39 } 40 41 public void setActivityId (String actId) { 42 this.activityId=actId; 43 } 44 45 public String getActivityId () { 46 return activityId; 47 } 48 49 public void setTimeLimit (long timeLimit) { 50 this.timeLimit=timeLimit; 51 } 52 53 public long getTimeLimit () { 54 return timeLimit; 55 } 56 57 public void setExceptionName (String exceptionName) { 58 this.exceptionName=exceptionName; 59 } 60 61 public String getExceptionName () { 62 return exceptionName; 63 } 64 65 public void setSynchronous (boolean synchronous) { 66 this.isSynchronous=synchronous; 67 } 68 69 public boolean isSynchronous () { 70 return isSynchronous; 71 } 72 73 } 74 | Popular Tags |