KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > shark > ApplicationMapImpl


1 package org.enhydra.shark;
2
3 import org.enhydra.shark.api.client.wfservice.ApplicationMap;
4
5 /**
6  * Implementation of ApplicationMap interface.
7  * If value for some field is not set, or if value is set to 'null', field
8  * will have value empty string.
9  * @author Zoran Milakovic
10  */

11 public class ApplicationMapImpl implements ApplicationMap {
12
13    private String JavaDoc toolAgentName;
14    private String JavaDoc username;
15    private String JavaDoc password;
16    private String JavaDoc applicationName;
17    private Integer JavaDoc applicationMode;
18    private String JavaDoc processDefId;
19    private String JavaDoc packageId;
20    private String JavaDoc applicationDefinitionId;
21
22    protected ApplicationMapImpl() {
23    }
24
25    public String JavaDoc getToolAgentClassName() {
26       return toolAgentName;
27    }
28
29    public void setToolAgentClassName( String JavaDoc name ) {
30       this.toolAgentName = name;
31    }
32
33    public String JavaDoc getPackageId() {
34       return packageId;
35    }
36
37    public void setPackageId( String JavaDoc packageId ) {
38       this.packageId = packageId;
39    }
40
41    public String JavaDoc getApplicationDefinitionId() {
42       return applicationDefinitionId;
43    }
44
45    public void setApplicationDefinitionId( String JavaDoc applicationDefinitionId ) {
46       this.applicationDefinitionId = applicationDefinitionId;
47    }
48
49    public String JavaDoc getProcessDefinitionId() {
50       return processDefId;
51    }
52
53    public void setProcessDefinitionId( String JavaDoc processDefId ) {
54       this.processDefId = processDefId;
55    }
56
57    public String JavaDoc getUsername() {
58       return username;
59    }
60
61    public void setUsername( String JavaDoc username ) {
62       this.username = username;
63    }
64
65    public String JavaDoc getPassword() {
66       return password;
67    }
68
69    public void setPassword( String JavaDoc password ) {
70       this.password = password;
71    }
72
73    public String JavaDoc getApplicationName() {
74       return applicationName;
75    }
76
77    public void setApplicationName( String JavaDoc appName ) {
78       this.applicationName = appName;
79    }
80
81    public Integer JavaDoc getApplicationMode() {
82       return applicationMode;
83    }
84
85    public void setApplicationMode( Integer JavaDoc appMode ) {
86       this.applicationMode = appMode;
87    }
88
89
90    public String JavaDoc toString() {
91       String JavaDoc retVal = "";
92       retVal += "toolAgentName=" + toolAgentName + "\n";
93       retVal += "username=" + username + "\n";
94       retVal += "password=" + password + "\n";
95       retVal += "applicationName=" + applicationName + "\n";
96       retVal += "applicationMode=" + applicationMode + "\n";
97       retVal += "processDefId=" + processDefId + "\n";
98       retVal += "packageId=" + packageId + "\n";
99       retVal += "applicationDefinitionId=" + applicationDefinitionId + "\n";
100       return retVal;
101    }
102
103 }
104
Popular Tags