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