1 4 5 package org.enhydra.shark.eventaudit; 6 7 import org.enhydra.shark.api.internal.eventaudit.*; 8 9 13 public class HibernateCreateProcessEventAudit extends HibernateEventAudit 14 implements CreateProcessEventAuditPersistenceInterface { 15 16 private String pActivityId; 17 private String pProcessId; 18 private String pProcessName; 19 private String pProcessMgrName; 20 private String pProcessMgrVersion; 21 private String pActivityDefinitionId; 22 private String pActivitySetDefinitionId; 23 private String pProcessDefinitionId; 24 private String pPackageId; 25 26 public void setPActivityId(String paId) { 27 this.pActivityId = paId; 28 } 29 30 public String getPActivityId() { 31 return pActivityId; 32 } 33 34 public void setPProcessId(String ppId) { 35 this.pProcessId = ppId; 36 } 37 38 public String getPProcessId() { 39 return pProcessId; 40 } 41 42 public void setPProcessName(String ppn) { 43 this.pProcessName = ppn; 44 } 45 46 public String getPProcessName() { 47 return pProcessName; 48 } 49 50 public void setPProcessDefinitionName(String ppdn) { 51 this.pProcessMgrName = ppdn; 52 } 53 54 public String getPProcessDefinitionName() { 55 return pProcessMgrName; 56 } 57 58 public void setPProcessDefinitionVersion(String ppdv) { 59 this.pProcessMgrVersion = ppdv; 60 } 61 62 public String getPProcessDefinitionVersion() { 63 return pProcessMgrVersion; 64 } 65 66 public void setPActivityDefinitionId(String padId) { 67 pActivityDefinitionId = padId; 68 } 69 70 public String getPActivityDefinitionId() { 71 return pActivityDefinitionId; 72 } 73 74 public void setPActivitySetDefinitionId(String pasdId) { 75 pActivitySetDefinitionId = pasdId; 76 } 77 78 public String getPActivitySetDefinitionId() { 79 return pActivitySetDefinitionId; 80 } 81 public void setPProcessDefinitionId(String ppdId) { 82 this.pProcessDefinitionId = ppdId; 83 } 84 85 public String getPProcessDefinitionId() { 86 return pProcessDefinitionId; 87 } 88 89 public void setPPackageId(String ppkgId) { 90 this.pPackageId = ppkgId; 91 } 92 93 public String getPPackageId() { 94 return pPackageId; 95 } 96 97 public String toString() { 98 StringBuffer strBuffer = new StringBuffer (); 99 strBuffer.append("IdDB = " + this.dbId + "\n"); 100 strBuffer.append("timeStamp = " + this.getUTCTime() + "\n"); 101 strBuffer.append("eventType = " + this.getType() + "\n"); 102 strBuffer.append("processId = " + this.getProcessId() + "\n"); 103 strBuffer.append("processName = " + this.getProcessName() + "\n"); 104 strBuffer.append("processMgrName = " + this.getProcessDefinitionName() 105 + "\n"); 106 strBuffer.append("processMgrVersion = " 107 + this.getProcessDefinitionVersion() + "\n"); 108 strBuffer.append("processDefinitionId = " 109 + this.getProcessDefinitionId() + "\n"); 110 strBuffer.append("packageId = " + this.getPackageId() + "\n"); 111 strBuffer.append("pActivityId = " + this.getPActivityId() + "\n"); 112 strBuffer.append("pProcessId = " + this.getPProcessId() + "\n"); 113 strBuffer.append("pProcessName = " + this.getPProcessName() + "\n"); 114 strBuffer.append("pProcessMgrName = " 115 + this.getPProcessDefinitionName() + "\n"); 116 strBuffer.append("pProcessMgrVersion = " 117 + this.getPProcessDefinitionVersion() + "\n"); 118 strBuffer.append("pActivityDefinitionId = " 119 + this.getPActivityDefinitionId() + "\n"); 120 strBuffer.append("pProcessDefinitionId = " 121 + this.getPProcessDefinitionId() + "\n"); 122 strBuffer.append("pPackageId = " + this.getPPackageId() + "\n"); 123 124 return strBuffer.toString(); 125 } 126 } 127 | Popular Tags |