KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > shark > corba > WfAssignmentEventAuditCORBA


1 package org.enhydra.shark.corba;
2
3 import org.omg.TimeBase.*;
4 import org.omg.WfBase.*;
5 import org.omg.WorkflowModel.*;
6
7 /**
8  * WfEventAuditImpl - Workflow Event Audit implementation
9  */

10 public class WfAssignmentEventAuditCORBA extends
11                                         _WfAssignmentEventAuditImplBase {
12    
13    private org.enhydra.shark.api.client.wfmodel.WfAssignmentEventAudit ea;
14
15    private Collective __collective;
16
17    protected WfAssignmentEventAuditCORBA(Collective toJoin,
18                                          org.enhydra.shark.api.client.wfmodel.WfAssignmentEventAudit ea) {
19       __collective = toJoin;
20       toJoin.__recruit(this);
21       this.ea = ea;
22    }
23
24    public WfExecutionObject source() throws BaseException, SourceNotAvailable {
25       try {
26          return new WfActivityCORBA(__collective,
27                                     (org.enhydra.shark.api.client.wfmodel.WfActivity) ea.source());
28       } catch (org.enhydra.shark.api.client.wfmodel.SourceNotAvailable sna) {
29          throw new SourceNotAvailable();
30       } catch (Exception JavaDoc ex) {
31          throw new BaseException();
32       }
33    }
34
35    public UtcT time_stamp() throws BaseException {
36       try {
37          org.enhydra.shark.api.client.timebase.UtcT t = ea.time_stamp();
38          return new UtcT(t.time, t.inacclo, t.inacchi, t.tdf);
39       } catch (Exception JavaDoc ex) {
40          throw new BaseException();
41       }
42    }
43
44    public String JavaDoc event_type() throws BaseException {
45       try {
46          return ea.event_type();
47       } catch (Exception JavaDoc ex) {
48          throw new BaseException();
49       }
50    }
51
52    public String JavaDoc activity_key() throws BaseException {
53       try {
54          return ea.activity_key();
55       } catch (Exception JavaDoc ex) {
56          throw new BaseException();
57       }
58    }
59
60    public String JavaDoc activity_name() throws BaseException {
61       try {
62          return ea.activity_name();
63       } catch (Exception JavaDoc ex) {
64          throw new BaseException();
65       }
66    }
67
68    public String JavaDoc process_key() throws BaseException {
69       try {
70          return ea.process_key();
71       } catch (Exception JavaDoc ex) {
72          throw new BaseException();
73       }
74    }
75
76    public String JavaDoc process_name() throws BaseException {
77       try {
78          return ea.process_name();
79       } catch (Exception JavaDoc ex) {
80          throw new BaseException();
81       }
82    }
83
84    public String JavaDoc process_mgr_name() throws BaseException {
85       try {
86          return ea.process_mgr_name();
87       } catch (Exception JavaDoc ex) {
88          throw new BaseException();
89       }
90    }
91
92    public String JavaDoc process_mgr_version() throws BaseException {
93       try {
94          return ea.process_mgr_version();
95       } catch (Exception JavaDoc ex) {
96          throw new BaseException();
97       }
98    }
99
100    public String JavaDoc old_resource_key() throws BaseException {
101       try {
102          return ea.old_resource_key();
103       } catch (Exception JavaDoc ex) {
104          throw new BaseException();
105       }
106    }
107
108    public String JavaDoc old_resource_name() throws BaseException {
109       try {
110          return ea.old_resource_name();
111       } catch (Exception JavaDoc ex) {
112          throw new BaseException();
113       }
114    }
115
116    public String JavaDoc new_resource_key() throws BaseException {
117       try {
118          return ea.new_resource_key();
119       } catch (Exception JavaDoc ex) {
120          throw new BaseException();
121       }
122    }
123
124    public String JavaDoc new_resource_name() throws BaseException {
125       try {
126          return ea.new_resource_name();
127       } catch (Exception JavaDoc ex) {
128          throw new BaseException();
129       }
130    }
131
132    public boolean is_accepted() throws BaseException {
133       try {
134          return ea.is_accepted();
135       } catch (Exception JavaDoc ex) {
136          throw new BaseException();
137       }
138    }
139
140 }
Popular Tags