KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > shark > corba > poa > AssignmentIteratorExpressionBuilderCORBA


1 package org.enhydra.shark.corba.poa;
2
3 import org.enhydra.shark.corba.ExpressionBuilders.AssignmentIteratorExpressionBuilder;
4 import org.enhydra.shark.corba.ExpressionBuilders.AssignmentIteratorExpressionBuilderPOA;
5 import org.omg.CORBA.Any JavaDoc;
6
7
8 /**
9  * AssignmentIteratorExpressionBuilderCORBA
10  *
11  * @author David Forslund
12  */

13 public class AssignmentIteratorExpressionBuilderCORBA extends AssignmentIteratorExpressionBuilderPOA {
14
15    org.enhydra.shark.api.common.AssignmentIteratorExpressionBuilder myEB;
16
17
18    public AssignmentIteratorExpressionBuilderCORBA( org.enhydra.shark.api.common.AssignmentIteratorExpressionBuilder eb) {
19       this.myEB=eb;
20
21
22    }
23
24    public boolean isComplete() {
25       return myEB.isComplete();
26    }
27
28    public String JavaDoc toSQL() {
29       return myEB.toSQL();
30    }
31
32    public String JavaDoc toScript() {
33       return myEB.toScript();
34    }
35
36    public String JavaDoc toExpression() {
37       return myEB.toExpression();
38    }
39
40    public AssignmentIteratorExpressionBuilder and() {
41       myEB.and();
42       return _this();
43    }
44
45    public AssignmentIteratorExpressionBuilder or() {
46       myEB.or();
47       return _this();
48    }
49
50    public AssignmentIteratorExpressionBuilder not() {
51       myEB.not();
52       return _this();
53    }
54
55    public AssignmentIteratorExpressionBuilder addUsernameEquals(String JavaDoc un) {
56       myEB.addUsernameEquals(un);
57       return _this();
58    }
59
60    public AssignmentIteratorExpressionBuilder addProcessIdEquals(String JavaDoc un) {
61       myEB.addProcessIdEquals(un);
62       return _this();
63    }
64
65    public AssignmentIteratorExpressionBuilder addIsAccepted() {
66       myEB.addIsAccepted();
67       return _this();
68    }
69
70    public AssignmentIteratorExpressionBuilder addPackageIdEquals(String JavaDoc un) {
71       myEB.addPackageIdEquals(un);
72       return _this();
73    }
74
75    public AssignmentIteratorExpressionBuilder addPackageVersionEquals(String JavaDoc un) {
76       myEB.addPackageVersionEquals(un);
77       return _this();
78    }
79
80    public AssignmentIteratorExpressionBuilder addProcessDefIdEquals(String JavaDoc un) {
81       myEB.addProcessDefIdEquals(un);
82       return _this();
83    }
84
85    public AssignmentIteratorExpressionBuilder addActivitySetDefIdEquals(String JavaDoc un) {
86       myEB.addActivitySetDefIdEquals(un);
87       return _this();
88    }
89
90    public AssignmentIteratorExpressionBuilder addActivityDefIdEquals(String JavaDoc un) {
91       myEB.addActivityDefIdEquals(un);
92       return _this();
93    }
94
95    public AssignmentIteratorExpressionBuilder addActivityIdEquals(String JavaDoc un) {
96       myEB.addActivityIdEquals(un);
97       return _this();
98    }
99
100    public AssignmentIteratorExpressionBuilder addExpression(AssignmentIteratorExpressionBuilder eb) {
101       myEB.addExpression((org.enhydra.shark.api.common.AssignmentIteratorExpressionBuilder) eb.getTheImpl()
102          .extract_Value());
103       return _this();
104    }
105
106   // public void disconnect() {
107
// this.disconnect();
108
// }
109

110    public Any JavaDoc getTheImpl() {
111       Any JavaDoc ret = this._orb().create_any();
112       ret.insert_Value(myEB);
113       return ret;
114    }
115
116    public AssignmentIteratorExpressionBuilder setOrderByUsername(boolean ascending) {
117       myEB.setOrderByUsername(ascending);
118       return _this();
119    }
120
121    public AssignmentIteratorExpressionBuilder setOrderByProcessId(boolean ascending) {
122       myEB.setOrderByProcessId(ascending);
123       return _this();
124    }
125
126    public AssignmentIteratorExpressionBuilder setOrderByCreatedTime(boolean ascending) {
127       myEB.setOrderByCreatedTime(ascending);
128       return _this();
129    }
130
131    public AssignmentIteratorExpressionBuilder setOrderByAccepted(boolean ascending) {
132       myEB.setOrderByAccepted(ascending);
133       return _this();
134    }
135
136 }
137
Popular Tags