1 package org.enhydra.shark.corba; 2 3 import org.enhydra.shark.corba.WorkflowService._ApplicationMapImplBase; 4 5 10 public class ApplicationMapCORBA extends _ApplicationMapImplBase { 11 12 private String toolAgentClassName = ""; 13 14 private String username = ""; 15 16 private String password = ""; 17 18 private String applicationName = ""; 19 20 private int applicationMode = -Integer.MAX_VALUE; 21 22 private String processDefId = ""; 23 24 private String packageId = ""; 25 26 private String applicationDefinitionId = ""; 27 28 public ApplicationMapCORBA(Collective toJoin) { 29 toJoin.__recruit(this); 30 } 31 32 public ApplicationMapCORBA(Collective toJoin, 33 org.enhydra.shark.api.client.wfservice.ApplicationMap am) { 34 this(toJoin); 35 setToolAgentClassName(am.getToolAgentClassName()); 36 setUsername(am.getUsername()); 37 setPassword(am.getPassword()); 38 setApplicationName(am.getApplicationName()); 39 if (am.getApplicationMode() != null) { 40 setApplicationMode(am.getApplicationMode().intValue()); 41 } 42 setPackageId(am.getPackageId()); 43 setProcessDefinitionId(am.getProcessDefinitionId()); 44 setApplicationDefinitionId(am.getApplicationDefinitionId()); 45 } 46 47 public String getToolAgentClassName() { 48 return toolAgentClassName; 49 } 50 51 public void setToolAgentClassName(String name) { 52 if (name == null) return; 53 this.toolAgentClassName = name; 54 } 55 56 public String getPackageId() { 57 return packageId; 58 } 59 60 public void setPackageId(String id) { 61 if (id == null) return; 62 this.packageId = id; 63 } 64 65 public String getApplicationDefinitionId() { 66 return applicationDefinitionId; 67 } 68 69 public void setApplicationDefinitionId(String id) { 70 if (id == null) return; 71 this.applicationDefinitionId = id; 72 } 73 74 public String getProcessDefinitionId() { 75 return processDefId; 76 } 77 78 public void setProcessDefinitionId(String id) { 79 if (id == null) return; 80 this.processDefId = id; 81 } 82 83 public String getUsername() { 84 return username; 85 } 86 87 public void setUsername(String username) { 88 if (username == null) return; 89 this.username = username; 90 } 91 92 public String getPassword() { 93 return password; 94 } 95 96 public void setPassword(String password) { 97 if (password == null) return; 98 this.password = password; 99 } 100 101 public String getApplicationName() { 102 return applicationName; 103 } 104 105 public void setApplicationName(String appName) { 106 if (applicationName == null) return; 107 this.applicationName = appName; 108 } 109 110 public int getApplicationMode() { 111 return applicationMode; 112 } 113 114 public void setApplicationMode(int appMode) { 115 this.applicationMode = appMode; 116 } 117 118 } | Popular Tags |