1 4 5 6 package org.enhydra.shark.eventaudit; 7 8 import org.enhydra.shark.api.internal.eventaudit.EventAuditPersistenceInterface; 9 import org.enhydra.shark.utilities.hibernate.HibernateGeneric; 10 import org.enhydra.shark.utilities.hibernate.HibernateObjectUtil; 11 12 16 public class HibernateEventAudit extends HibernateObjectUtil implements EventAuditPersistenceInterface, HibernateGeneric { 17 18 private String timeStamp; 19 private String eventType; 20 private String activityId; 21 private String activityName; 22 private String processId; 23 private String processName; 24 private String processMgrName; 25 private String processMgrVersion; 26 private String activityDefinitionId; 27 private String activitySetDefinitionId; 28 private String processDefinitionId; 29 private String packageId; 30 31 private int eventTypeId; 32 33 protected int dbId = -1; 34 35 public int getDbId() { 36 return dbId; 37 } 38 39 public void setDbId(int dbId) { 40 this.dbId = dbId; 41 } 42 43 public void setUTCTime(String time) { 44 this.timeStamp = time; 45 } 46 47 public String getUTCTime() { 48 return timeStamp; 49 } 50 51 public void setType(String type) { 52 this.eventType = type; 53 } 54 55 public String getType() { 56 return eventType; 57 } 58 59 public void setActivityId(String aId) { 60 this.activityId = aId; 61 } 62 63 public String getActivityId() { 64 return activityId; 65 } 66 67 public void setActivityName(String an) { 68 this.activityName = an; 69 } 70 71 public String getActivityName() { 72 return activityName; 73 } 74 75 public void setProcessId(String pId) { 76 this.processId = pId; 77 } 78 79 public String getProcessId() { 80 return processId; 81 } 82 83 public void setProcessName(String n) { 84 this.processName = n; 85 } 86 87 public String getProcessName() { 88 return processName; 89 } 90 91 public void setProcessDefinitionName(String pn) { 92 this.processMgrName = pn; 93 } 94 95 public String getProcessDefinitionName() { 96 return processMgrName; 97 } 98 99 public void setProcessDefinitionVersion(String pdv) { 100 this.processMgrVersion = pdv; 101 } 102 103 public String getProcessDefinitionVersion() { 104 return processMgrVersion; 105 } 106 107 public void setActivityDefinitionId(String adId) { 108 activityDefinitionId = adId; 109 } 110 111 public String getActivityDefinitionId() { 112 return activityDefinitionId; 113 } 114 115 public String getActivitySetDefinitionId () { 116 return activitySetDefinitionId; 117 } 118 119 public void setActivitySetDefinitionId (String asdId) { 120 activitySetDefinitionId=asdId; 121 } 122 123 public void setProcessDefinitionId(String pdId) { 124 processDefinitionId = pdId; 125 } 126 127 public String getProcessDefinitionId() { 128 return processDefinitionId; 129 } 130 131 public void setPackageId(String pkgId) { 132 packageId = pkgId; 133 } 134 135 public String getPackageId() { 136 return packageId; 137 } 138 139 public int getEventTypeId() { 140 return eventTypeId; 141 } 142 143 public void setEventTypeId(int i) { 144 eventTypeId = i; 145 } 146 147 } 148 | Popular Tags |