1 package org.enhydra.shark.corba.poa; 2 3 import org.enhydra.shark.corba.ExpressionBuilders.ProcessMgrIteratorExpressionBuilder; 4 import org.enhydra.shark.corba.ExpressionBuilders.ProcessMgrIteratorExpressionBuilderPOA; 5 import org.omg.CORBA.Any ; 6 import org.omg.CORBA.ORB ; 7 8 13 public class ProcessMgrIteratorExpressionBuilderCORBA extends 14 ProcessMgrIteratorExpressionBuilderPOA { 15 16 org.enhydra.shark.api.common.ProcessMgrIteratorExpressionBuilder myEB; 17 18 public ProcessMgrIteratorExpressionBuilderCORBA( org.enhydra.shark.api.common.ProcessMgrIteratorExpressionBuilder eb) { 19 this.myEB = eb; 20 } 22 23 public boolean isComplete() { 24 return myEB.isComplete(); 25 } 26 27 public String toSQL() { 28 return myEB.toSQL(); 29 } 30 31 public String toScript() { 32 return myEB.toScript(); 33 } 34 35 public String toExpression() { 36 return myEB.toExpression(); 37 } 38 39 public ProcessMgrIteratorExpressionBuilder and() { 40 myEB.and(); 41 return _this(); 42 } 43 44 public ProcessMgrIteratorExpressionBuilder or() { 45 myEB.or(); 46 return _this(); 47 } 48 49 public ProcessMgrIteratorExpressionBuilder not() { 50 myEB.not(); 51 return _this(); 52 } 53 54 public ProcessMgrIteratorExpressionBuilder addNameEquals(String exp) { 55 myEB.addNameEquals(exp); 56 return _this(); 57 } 58 59 public ProcessMgrIteratorExpressionBuilder addPackageIdEquals(String exp) { 60 myEB.addPackageIdEquals(exp); 61 return _this(); 62 } 63 64 public ProcessMgrIteratorExpressionBuilder addProcessDefIdEquals(String exp) { 65 myEB.addProcessDefIdEquals(exp); 66 return _this(); 67 } 68 69 public ProcessMgrIteratorExpressionBuilder addVersionEquals(String exp) { 70 myEB.addVersionEquals(exp); 71 return _this(); 72 } 73 74 public ProcessMgrIteratorExpressionBuilder addCreatedTimeEquals(long arg) { 75 myEB.addCreatedTimeEquals(arg); 76 return _this(); 77 } 78 79 public ProcessMgrIteratorExpressionBuilder addCreatedTimeBefore(long arg) { 80 myEB.addCreatedTimeBefore(arg); 81 return _this(); 82 } 83 84 public ProcessMgrIteratorExpressionBuilder addCreatedTimeAfter(long arg) { 85 myEB.addCreatedTimeAfter(arg); 86 return _this(); 87 } 88 89 public ProcessMgrIteratorExpressionBuilder addIsEnabled() { 90 myEB.addIsEnabled(); 91 return _this(); 92 } 93 94 public ProcessMgrIteratorExpressionBuilder addExpressionStr(String exp) { 95 myEB.addExpression(exp); 96 return _this(); 97 } 98 99 public void disconnect() { 100 102 } 103 104 public ProcessMgrIteratorExpressionBuilder addExpression(ProcessMgrIteratorExpressionBuilder eb) { 105 myEB.addExpression((org.enhydra.shark.api.common.ProcessMgrIteratorExpressionBuilder) eb.getTheImpl() 106 .extract_Value()); 107 return _this(); 108 } 109 110 public Any getTheImpl() { 111 Any ret = this._orb().create_any(); 112 ret.insert_Value(myEB); 113 return ret; 114 } 115 116 public ProcessMgrIteratorExpressionBuilder setOrderByPackageId(boolean ascending) { 117 myEB.setOrderByPackageId(ascending); 118 return _this(); 119 } 120 121 public ProcessMgrIteratorExpressionBuilder setOrderByProcessDefId(boolean ascending) { 122 myEB.setOrderByProcessDefId(ascending); 123 return _this(); 124 } 125 126 public ProcessMgrIteratorExpressionBuilder setOrderByName(boolean ascending) { 127 myEB.setOrderByName(ascending); 128 return _this(); 129 } 130 131 public ProcessMgrIteratorExpressionBuilder setOrderByVersion(boolean ascending) { 132 myEB.setOrderByVersion(ascending); 133 return _this(); 134 } 135 136 public ProcessMgrIteratorExpressionBuilder setOrderByCreatedTime(boolean ascending) { 137 myEB.setOrderByCreatedTime(ascending); 138 return _this(); 139 } 140 141 public ProcessMgrIteratorExpressionBuilder setOrderByEnabled(boolean ascending) { 142 myEB.setOrderByEnabled(ascending); 143 return _this(); 144 } 145 } | Popular Tags |