1 package org.enhydra.shark.corba; 2 3 import org.enhydra.shark.corba.ExpressionBuilders.AssignmentIteratorExpressionBuilder; 4 import org.enhydra.shark.corba.ExpressionBuilders._AssignmentIteratorExpressionBuilderImplBase; 5 import org.omg.CORBA.Any ; 6 7 8 13 public class AssignmentIteratorExpressionBuilderCORBA extends _AssignmentIteratorExpressionBuilderImplBase { 14 15 org.enhydra.shark.api.common.AssignmentIteratorExpressionBuilder myEB; 16 17 public AssignmentIteratorExpressionBuilderCORBA(org.enhydra.shark.api.common.AssignmentIteratorExpressionBuilder eb) { 18 this.myEB=eb; 19 } 20 21 public boolean isComplete() { 22 return myEB.isComplete(); 23 } 24 25 public String toSQL() { 26 return myEB.toSQL(); 27 } 28 29 public String toScript() { 30 return myEB.toScript(); 31 } 32 33 public String toExpression() { 34 return myEB.toExpression(); 35 } 36 37 public AssignmentIteratorExpressionBuilder and() { 38 myEB.and(); 39 return this; 40 } 41 42 public AssignmentIteratorExpressionBuilder or() { 43 myEB.or(); 44 return this; 45 } 46 47 public AssignmentIteratorExpressionBuilder not() { 48 myEB.not(); 49 return this; 50 } 51 52 public AssignmentIteratorExpressionBuilder addUsernameEquals(String un) { 53 myEB.addUsernameEquals(un); 54 return this; 55 } 56 57 public AssignmentIteratorExpressionBuilder addProcessIdEquals(String un) { 58 myEB.addProcessIdEquals(un); 59 return this; 60 } 61 62 public AssignmentIteratorExpressionBuilder addIsAccepted() { 63 myEB.addIsAccepted(); 64 return this; 65 } 66 67 public AssignmentIteratorExpressionBuilder addPackageIdEquals(String un) { 68 myEB.addPackageIdEquals(un); 69 return this; 70 } 71 72 public AssignmentIteratorExpressionBuilder addPackageVersionEquals(String un) { 73 myEB.addPackageVersionEquals(un); 74 return this; 75 } 76 77 public AssignmentIteratorExpressionBuilder addProcessDefIdEquals(String un) { 78 myEB.addProcessDefIdEquals(un); 79 return this; 80 } 81 82 public AssignmentIteratorExpressionBuilder addActivitySetDefIdEquals(String un) { 83 myEB.addActivitySetDefIdEquals(un); 84 return this; 85 } 86 87 public AssignmentIteratorExpressionBuilder addActivityDefIdEquals(String un) { 88 myEB.addActivityDefIdEquals(un); 89 return this; 90 } 91 92 public AssignmentIteratorExpressionBuilder addActivityIdEquals(String un) { 93 myEB.addActivityIdEquals(un); 94 return this; 95 } 96 97 public AssignmentIteratorExpressionBuilder addExpression(AssignmentIteratorExpressionBuilder eb) { 98 myEB.addExpression((org.enhydra.shark.api.common.AssignmentIteratorExpressionBuilder) eb.getTheImpl() 99 .extract_Value()); 100 return this; 101 } 102 103 public void disconnect() { 104 this._orb().disconnect(this); 105 } 106 107 public Any getTheImpl() { 108 Any ret = this._orb().create_any(); 109 ret.insert_Value(myEB); 110 return ret; 111 } 112 113 public AssignmentIteratorExpressionBuilder setOrderByUsername(boolean ascending) { 114 myEB.setOrderByUsername(ascending); 115 return this; 116 } 117 118 public AssignmentIteratorExpressionBuilder setOrderByProcessId(boolean ascending) { 119 myEB.setOrderByProcessId(ascending); 120 return this; 121 } 122 123 public AssignmentIteratorExpressionBuilder setOrderByCreatedTime(boolean ascending) { 124 myEB.setOrderByCreatedTime(ascending); 125 return this; 126 } 127 128 public AssignmentIteratorExpressionBuilder setOrderByAccepted(boolean ascending) { 129 myEB.setOrderByAccepted(ascending); 130 return this; 131 } 132 133 } 134 | Popular Tags |