1 package org.opencrx.kernel.forecast1.cci; 14 15 public class BudgetMilestoneClassImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefClass_1 17 implements BudgetMilestoneClass { 18 19 public BudgetMilestoneClassImpl( 20 org.openmdx.base.accessor.jmi.cci.RefPackage_1_0 refPackage 21 ) { 22 super(refPackage); 23 } 24 25 public String refMofId( 26 ) { 27 return "org:opencrx:kernel:forecast1:BudgetMilestone"; 28 } 29 30 public BudgetMilestone getBudgetMilestone( 31 Object object 32 ) { 33 try { 34 if(object instanceof org.openmdx.base.accessor.jmi.cci.RefObject_1_0) { 35 java.util.List args = new java.util.ArrayList (); 36 args.add(object); 37 BudgetMilestone target = (BudgetMilestone)refCreateInstance( 38 args 39 ); 40 return target; 41 } else { 42 return (BudgetMilestone)((org.openmdx.base.accessor.jmi.cci.RefPackage_1_0)this.refOutermostPackage()).refObject( 43 object instanceof org.openmdx.compatibility.base.naming.Path 44 ? ((org.openmdx.compatibility.base.naming.Path)object).toXri() 45 : ((org.openmdx.base.accessor.generic.cci.Object_1_0)object).objGetPath().toXri() 46 ); 47 } 48 } 49 catch(org.openmdx.base.exception.ServiceException e) { 50 throw new org.openmdx.base.accessor.jmi.cci.JmiServiceException(e); 51 } 52 } 53 54 public BudgetMilestone createBudgetMilestone( 55 ) { 56 BudgetMilestone target = (BudgetMilestone)refCreateInstance( 57 null 58 ); 59 return target; 60 } 61 public BudgetMilestone createBudgetMilestone( 65 short accessLevelBrowse 66 , short accessLevelDelete 67 , short accessLevelUpdate 68 , java.math.BigDecimal actualValue 69 , java.math.BigDecimal targetValue 70 , boolean disabled 71 ) { 72 BudgetMilestoneImpl _object = (BudgetMilestoneImpl)createBudgetMilestone(); 73 _object.setAccessLevelBrowse(accessLevelBrowse); 74 _object.setAccessLevelDelete(accessLevelDelete); 75 _object.setAccessLevelUpdate(accessLevelUpdate); 76 _object.setActualValue(actualValue); 77 _object.setTargetValue(targetValue); 78 _object.setDisabled(disabled); 79 return _object; 80 } 81 82 public BudgetMilestone extendAuditee( 86 org.opencrx.kernel.base.cci.Auditee _base 87 , short accessLevelBrowse 88 , short accessLevelDelete 89 , short accessLevelUpdate 90 , java.math.BigDecimal actualValue 91 , java.math.BigDecimal targetValue 92 , boolean disabled 93 ) { 94 BudgetMilestoneImpl _object = (BudgetMilestoneImpl)getBudgetMilestone(_base); 95 _object.setAccessLevelBrowse(accessLevelBrowse); 96 _object.setAccessLevelDelete(accessLevelDelete); 97 _object.setAccessLevelUpdate(accessLevelUpdate); 98 _object.setActualValue(actualValue); 99 _object.setTargetValue(targetValue); 100 _object.setDisabled(disabled); 101 return _object; 102 } 103 104 public BudgetMilestone extendBookmarkable( 108 org.opencrx.kernel.base.cci.Bookmarkable _base 109 , short accessLevelBrowse 110 , short accessLevelDelete 111 , short accessLevelUpdate 112 , java.math.BigDecimal actualValue 113 , java.math.BigDecimal targetValue 114 , boolean disabled 115 ) { 116 BudgetMilestoneImpl _object = (BudgetMilestoneImpl)getBudgetMilestone(_base); 117 _object.setAccessLevelBrowse(accessLevelBrowse); 118 _object.setAccessLevelDelete(accessLevelDelete); 119 _object.setAccessLevelUpdate(accessLevelUpdate); 120 _object.setActualValue(actualValue); 121 _object.setTargetValue(targetValue); 122 _object.setDisabled(disabled); 123 return _object; 124 } 125 126 public BudgetMilestone extendCloneable( 130 org.opencrx.kernel.base.cci.Cloneable _base 131 , short accessLevelBrowse 132 , short accessLevelDelete 133 , short accessLevelUpdate 134 , java.math.BigDecimal actualValue 135 , java.math.BigDecimal targetValue 136 , boolean disabled 137 ) { 138 BudgetMilestoneImpl _object = (BudgetMilestoneImpl)getBudgetMilestone(_base); 139 _object.setAccessLevelBrowse(accessLevelBrowse); 140 _object.setAccessLevelDelete(accessLevelDelete); 141 _object.setAccessLevelUpdate(accessLevelUpdate); 142 _object.setActualValue(actualValue); 143 _object.setTargetValue(targetValue); 144 _object.setDisabled(disabled); 145 return _object; 146 } 147 148 public BudgetMilestone extendImporter( 152 org.opencrx.kernel.base.cci.Importer _base 153 , short accessLevelBrowse 154 , short accessLevelDelete 155 , short accessLevelUpdate 156 , java.math.BigDecimal actualValue 157 , java.math.BigDecimal targetValue 158 , boolean disabled 159 ) { 160 BudgetMilestoneImpl _object = (BudgetMilestoneImpl)getBudgetMilestone(_base); 161 _object.setAccessLevelBrowse(accessLevelBrowse); 162 _object.setAccessLevelDelete(accessLevelDelete); 163 _object.setAccessLevelUpdate(accessLevelUpdate); 164 _object.setActualValue(actualValue); 165 _object.setTargetValue(targetValue); 166 _object.setDisabled(disabled); 167 return _object; 168 } 169 170 public BudgetMilestone extendSecureObject( 174 org.opencrx.kernel.base.cci.SecureObject _base 175 , java.math.BigDecimal actualValue 176 , java.math.BigDecimal targetValue 177 , boolean disabled 178 ) { 179 BudgetMilestoneImpl _object = (BudgetMilestoneImpl)getBudgetMilestone(_base); 180 _object.setActualValue(actualValue); 181 _object.setTargetValue(targetValue); 182 _object.setDisabled(disabled); 183 return _object; 184 } 185 186 public BudgetMilestone extendSubscriptionTarget( 190 org.opencrx.kernel.base.cci.SubscriptionTarget _base 191 , short accessLevelBrowse 192 , short accessLevelDelete 193 , short accessLevelUpdate 194 , java.math.BigDecimal actualValue 195 , java.math.BigDecimal targetValue 196 , boolean disabled 197 ) { 198 BudgetMilestoneImpl _object = (BudgetMilestoneImpl)getBudgetMilestone(_base); 199 _object.setAccessLevelBrowse(accessLevelBrowse); 200 _object.setAccessLevelDelete(accessLevelDelete); 201 _object.setAccessLevelUpdate(accessLevelUpdate); 202 _object.setActualValue(actualValue); 203 _object.setTargetValue(targetValue); 204 _object.setDisabled(disabled); 205 return _object; 206 } 207 208 public BudgetMilestone extendXmlExporter( 212 org.opencrx.kernel.base.cci.XmlExporter _base 213 , short accessLevelBrowse 214 , short accessLevelDelete 215 , short accessLevelUpdate 216 , java.math.BigDecimal actualValue 217 , java.math.BigDecimal targetValue 218 , boolean disabled 219 ) { 220 BudgetMilestoneImpl _object = (BudgetMilestoneImpl)getBudgetMilestone(_base); 221 _object.setAccessLevelBrowse(accessLevelBrowse); 222 _object.setAccessLevelDelete(accessLevelDelete); 223 _object.setAccessLevelUpdate(accessLevelUpdate); 224 _object.setActualValue(actualValue); 225 _object.setTargetValue(targetValue); 226 _object.setDisabled(disabled); 227 return _object; 228 } 229 230 public BudgetMilestone extendCrxObject( 234 org.opencrx.kernel.generic.cci.CrxObject _base 235 , java.math.BigDecimal actualValue 236 , java.math.BigDecimal targetValue 237 ) { 238 BudgetMilestoneImpl _object = (BudgetMilestoneImpl)getBudgetMilestone(_base); 239 _object.setActualValue(actualValue); 240 _object.setTargetValue(targetValue); 241 return _object; 242 } 243 244 public BudgetMilestone extendBasicObject( 248 org.openmdx.base.cci.BasicObject _base 249 , short accessLevelBrowse 250 , short accessLevelDelete 251 , short accessLevelUpdate 252 , java.math.BigDecimal actualValue 253 , java.math.BigDecimal targetValue 254 , boolean disabled 255 ) { 256 BudgetMilestoneImpl _object = (BudgetMilestoneImpl)getBudgetMilestone(_base); 257 _object.setAccessLevelBrowse(accessLevelBrowse); 258 _object.setAccessLevelDelete(accessLevelDelete); 259 _object.setAccessLevelUpdate(accessLevelUpdate); 260 _object.setActualValue(actualValue); 261 _object.setTargetValue(targetValue); 262 _object.setDisabled(disabled); 263 return _object; 264 } 265 266 public BudgetMilestone extendContextCapable( 270 org.openmdx.base.cci.ContextCapable _base 271 , short accessLevelBrowse 272 , short accessLevelDelete 273 , short accessLevelUpdate 274 , java.math.BigDecimal actualValue 275 , java.math.BigDecimal targetValue 276 , boolean disabled 277 ) { 278 BudgetMilestoneImpl _object = (BudgetMilestoneImpl)getBudgetMilestone(_base); 279 _object.setAccessLevelBrowse(accessLevelBrowse); 280 _object.setAccessLevelDelete(accessLevelDelete); 281 _object.setAccessLevelUpdate(accessLevelUpdate); 282 _object.setActualValue(actualValue); 283 _object.setTargetValue(targetValue); 284 _object.setDisabled(disabled); 285 return _object; 286 } 287 288 public BudgetMilestone extendExtentCapable( 292 org.openmdx.base.cci.ExtentCapable _base 293 , short accessLevelBrowse 294 , short accessLevelDelete 295 , short accessLevelUpdate 296 , java.math.BigDecimal actualValue 297 , java.math.BigDecimal targetValue 298 , boolean disabled 299 ) { 300 BudgetMilestoneImpl _object = (BudgetMilestoneImpl)getBudgetMilestone(_base); 301 _object.setAccessLevelBrowse(accessLevelBrowse); 302 _object.setAccessLevelDelete(accessLevelDelete); 303 _object.setAccessLevelUpdate(accessLevelUpdate); 304 _object.setActualValue(actualValue); 305 _object.setTargetValue(targetValue); 306 _object.setDisabled(disabled); 307 return _object; 308 } 309 310 public BudgetMilestone extendViewCapable( 314 org.openmdx.compatibility.view1.cci.ViewCapable _base 315 , short accessLevelBrowse 316 , short accessLevelDelete 317 , short accessLevelUpdate 318 , java.math.BigDecimal actualValue 319 , java.math.BigDecimal targetValue 320 , boolean disabled 321 ) { 322 BudgetMilestoneImpl _object = (BudgetMilestoneImpl)getBudgetMilestone(_base); 323 _object.setAccessLevelBrowse(accessLevelBrowse); 324 _object.setAccessLevelDelete(accessLevelDelete); 325 _object.setAccessLevelUpdate(accessLevelUpdate); 326 _object.setActualValue(actualValue); 327 _object.setTargetValue(targetValue); 328 _object.setDisabled(disabled); 329 return _object; 330 } 331 332 } 336 | Popular Tags |