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