1 package org.enhydra.shark.corba; 2 3 import org.enhydra.shark.corba.WorkflowService.*; 4 5 10 public class ParticipantMapCORBA extends _ParticipantMapImplBase { 11 12 private String participantId = ""; 13 14 private String packageId = ""; 15 16 private String processDefinitionId = ""; 17 18 private String username = ""; 19 20 private boolean isGroupUser; 21 22 public ParticipantMapCORBA(Collective toJoin) { 23 toJoin.__recruit(this); 24 } 25 26 public ParticipantMapCORBA(Collective toJoin, 27 org.enhydra.shark.api.client.wfservice.ParticipantMap pm) { 28 this(toJoin); 29 setParticipantId(pm.getParticipantId()); 30 setPackageId(pm.getPackageId()); 31 setProcessDefinitionId(pm.getProcessDefinitionId()); 32 setUsername(pm.getUsername()); 33 setIsGroupUser(pm.getIsGroupUser()); 34 } 35 36 public void setParticipantId(String id) { 37 if (id == null) return; 38 this.participantId = id; 39 } 40 41 public String getParticipantId() { 42 return this.participantId; 43 } 44 45 public void setPackageId(String id) { 46 if (id == null) return; 47 this.packageId = id; 48 } 49 50 public String getPackageId() { 51 return this.packageId; 52 } 53 54 public void setProcessDefinitionId(String id) { 55 if (id == null) return; 56 this.processDefinitionId = id; 57 } 58 59 public String getProcessDefinitionId() { 60 return this.processDefinitionId; 61 } 62 63 public void setUsername(String username) { 64 if (username == null) return; 65 this.username = username; 66 } 67 68 public String getUsername() { 69 return this.username; 70 } 71 72 public void setIsGroupUser(boolean isGroupUser) { 73 this.isGroupUser = isGroupUser; 74 } 75 76 public boolean getIsGroupUser() { 77 return this.isGroupUser; 78 } 79 80 } | Popular Tags |