1 4 5 package org.enhydra.shark.instancepersistence; 6 7 import org.enhydra.shark.api.internal.instancepersistence.AndJoinEntryInterface; 8 import org.enhydra.shark.utilities.hibernate.HibernateGeneric; 9 import org.enhydra.shark.utilities.hibernate.HibernateObjectUtil; 10 11 12 16 public class HibernateAndJoinEntry extends HibernateObjectUtil implements AndJoinEntryInterface, HibernateGeneric { 17 18 private String processId; 19 private String activityDefinitionId; 20 private String activitySetDefinitionId; 21 private String activityId; 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 setActivitySetDefinitionId (String asdId) { 34 this.activitySetDefinitionId=asdId; 35 } 36 37 public String getActivitySetDefinitionId () { 38 return activitySetDefinitionId; 39 } 40 41 public void setProcessId(String procId) { 42 this.processId = procId; 43 } 44 45 public String getProcessId() { 46 return processId; 47 } 48 49 public void setActivityDefinitionId(String adId) { 50 this.activityDefinitionId = adId; 51 } 52 53 public String getActivityDefinitionId() { 54 return activityDefinitionId; 55 } 56 57 public void setActivityId(String actId) { 58 activityId = actId; 59 } 60 61 public String getActivityId() { 62 return activityId; 63 } 64 65 public String toString(){ 66 StringBuffer strBuffer = new StringBuffer (); 67 strBuffer.append("idDB = " + this.dbId + "\n"); 68 strBuffer.append("activityId = " + this.activityId + "\n"); 69 strBuffer.append("activityDefinitionId = " + this.activityDefinitionId + "\n"); 70 strBuffer.append("processId = " + this.processId + "\n"); 71 return strBuffer.toString(); 72 } 73 74 } 75 | Popular Tags |