1 4 5 6 package org.enhydra.shark.instancepersistence; 7 8 import org.enhydra.shark.utilities.hibernate.HibernateGeneric; 9 import org.enhydra.shark.utilities.hibernate.HibernateObjectUtil; 10 11 12 16 public class HibernateProcessRequester extends HibernateObjectUtil implements HibernateGeneric { 17 18 private String idPro; 19 private String actRequester; 20 private String resRequester; 21 22 private int dbId = -1; 23 24 public int getDbId() { 25 return dbId; 26 } 27 28 public void setDbId(int dbId) { 29 this.dbId = dbId; 30 } 31 32 public void setId(String id) { 33 this.idPro = id; 34 } 35 36 public String getId() { 37 return idPro; 38 } 39 40 public String getActRequester() { 41 return actRequester; 42 } 43 44 public void setActRequester(String actRequester) { 45 this.actRequester = actRequester; 46 } 47 48 public String getResRequester() { 49 return resRequester; 50 } 51 52 public void setResRequester(String resRequester) { 53 this.resRequester = resRequester; 54 } 55 56 public String toString(){ 57 StringBuffer strBuffer = new StringBuffer (); 58 strBuffer.append("idDB = " + this.dbId + "\n"); 59 strBuffer.append("id = " + this.idPro + "\n"); 60 strBuffer.append("actRequester = " + this.actRequester + "\n"); 61 strBuffer.append("resRequester = " + this.resRequester + "\n"); 62 return strBuffer.toString(); 63 64 } 65 } 66 | Popular Tags |