1 package org.opencrx.kernel.account1.cci; 14 15 public class RevenueReportClassImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefClass_1 17 implements RevenueReportClass { 18 19 public RevenueReportClassImpl( 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:account1:RevenueReport"; 28 } 29 30 public RevenueReport getRevenueReport( 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 RevenueReport target = (RevenueReport)refCreateInstance( 38 args 39 ); 40 return target; 41 } else { 42 return (RevenueReport)((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 RevenueReport createRevenueReport( 55 ) { 56 RevenueReport target = (RevenueReport)refCreateInstance( 57 null 58 ); 59 return target; 60 } 61 public RevenueReport createRevenueReport( 65 short reportNumber 66 , java.math.BigDecimal reportedRevenue 67 , short reportingCurrency 68 , short reportingQuarter 69 , short reportingYear 70 , short accessLevelBrowse 71 , short accessLevelDelete 72 , short accessLevelUpdate 73 , boolean disabled 74 ) { 75 RevenueReportImpl _object = (RevenueReportImpl)createRevenueReport(); 76 _object.setReportNumber(reportNumber); 77 _object.setReportedRevenue(reportedRevenue); 78 _object.setReportingCurrency(reportingCurrency); 79 _object.setReportingQuarter(reportingQuarter); 80 _object.setReportingYear(reportingYear); 81 _object.setAccessLevelBrowse(accessLevelBrowse); 82 _object.setAccessLevelDelete(accessLevelDelete); 83 _object.setAccessLevelUpdate(accessLevelUpdate); 84 _object.setDisabled(disabled); 85 return _object; 86 } 87 88 public RevenueReport extendAuditee( 92 org.opencrx.kernel.base.cci.Auditee _base 93 , short reportNumber 94 , java.math.BigDecimal reportedRevenue 95 , short reportingCurrency 96 , short reportingQuarter 97 , short reportingYear 98 , short accessLevelBrowse 99 , short accessLevelDelete 100 , short accessLevelUpdate 101 , boolean disabled 102 ) { 103 RevenueReportImpl _object = (RevenueReportImpl)getRevenueReport(_base); 104 _object.setReportNumber(reportNumber); 105 _object.setReportedRevenue(reportedRevenue); 106 _object.setReportingCurrency(reportingCurrency); 107 _object.setReportingQuarter(reportingQuarter); 108 _object.setReportingYear(reportingYear); 109 _object.setAccessLevelBrowse(accessLevelBrowse); 110 _object.setAccessLevelDelete(accessLevelDelete); 111 _object.setAccessLevelUpdate(accessLevelUpdate); 112 _object.setDisabled(disabled); 113 return _object; 114 } 115 116 public RevenueReport extendBookmarkable( 120 org.opencrx.kernel.base.cci.Bookmarkable _base 121 , short reportNumber 122 , java.math.BigDecimal reportedRevenue 123 , short reportingCurrency 124 , short reportingQuarter 125 , short reportingYear 126 , short accessLevelBrowse 127 , short accessLevelDelete 128 , short accessLevelUpdate 129 , boolean disabled 130 ) { 131 RevenueReportImpl _object = (RevenueReportImpl)getRevenueReport(_base); 132 _object.setReportNumber(reportNumber); 133 _object.setReportedRevenue(reportedRevenue); 134 _object.setReportingCurrency(reportingCurrency); 135 _object.setReportingQuarter(reportingQuarter); 136 _object.setReportingYear(reportingYear); 137 _object.setAccessLevelBrowse(accessLevelBrowse); 138 _object.setAccessLevelDelete(accessLevelDelete); 139 _object.setAccessLevelUpdate(accessLevelUpdate); 140 _object.setDisabled(disabled); 141 return _object; 142 } 143 144 public RevenueReport extendCloneable( 148 org.opencrx.kernel.base.cci.Cloneable _base 149 , short reportNumber 150 , java.math.BigDecimal reportedRevenue 151 , short reportingCurrency 152 , short reportingQuarter 153 , short reportingYear 154 , short accessLevelBrowse 155 , short accessLevelDelete 156 , short accessLevelUpdate 157 , boolean disabled 158 ) { 159 RevenueReportImpl _object = (RevenueReportImpl)getRevenueReport(_base); 160 _object.setReportNumber(reportNumber); 161 _object.setReportedRevenue(reportedRevenue); 162 _object.setReportingCurrency(reportingCurrency); 163 _object.setReportingQuarter(reportingQuarter); 164 _object.setReportingYear(reportingYear); 165 _object.setAccessLevelBrowse(accessLevelBrowse); 166 _object.setAccessLevelDelete(accessLevelDelete); 167 _object.setAccessLevelUpdate(accessLevelUpdate); 168 _object.setDisabled(disabled); 169 return _object; 170 } 171 172 public RevenueReport extendImporter( 176 org.opencrx.kernel.base.cci.Importer _base 177 , short reportNumber 178 , java.math.BigDecimal reportedRevenue 179 , short reportingCurrency 180 , short reportingQuarter 181 , short reportingYear 182 , short accessLevelBrowse 183 , short accessLevelDelete 184 , short accessLevelUpdate 185 , boolean disabled 186 ) { 187 RevenueReportImpl _object = (RevenueReportImpl)getRevenueReport(_base); 188 _object.setReportNumber(reportNumber); 189 _object.setReportedRevenue(reportedRevenue); 190 _object.setReportingCurrency(reportingCurrency); 191 _object.setReportingQuarter(reportingQuarter); 192 _object.setReportingYear(reportingYear); 193 _object.setAccessLevelBrowse(accessLevelBrowse); 194 _object.setAccessLevelDelete(accessLevelDelete); 195 _object.setAccessLevelUpdate(accessLevelUpdate); 196 _object.setDisabled(disabled); 197 return _object; 198 } 199 200 public RevenueReport extendSecureObject( 204 org.opencrx.kernel.base.cci.SecureObject _base 205 , short reportNumber 206 , java.math.BigDecimal reportedRevenue 207 , short reportingCurrency 208 , short reportingQuarter 209 , short reportingYear 210 , boolean disabled 211 ) { 212 RevenueReportImpl _object = (RevenueReportImpl)getRevenueReport(_base); 213 _object.setReportNumber(reportNumber); 214 _object.setReportedRevenue(reportedRevenue); 215 _object.setReportingCurrency(reportingCurrency); 216 _object.setReportingQuarter(reportingQuarter); 217 _object.setReportingYear(reportingYear); 218 _object.setDisabled(disabled); 219 return _object; 220 } 221 222 public RevenueReport extendSubscriptionTarget( 226 org.opencrx.kernel.base.cci.SubscriptionTarget _base 227 , short reportNumber 228 , java.math.BigDecimal reportedRevenue 229 , short reportingCurrency 230 , short reportingQuarter 231 , short reportingYear 232 , short accessLevelBrowse 233 , short accessLevelDelete 234 , short accessLevelUpdate 235 , boolean disabled 236 ) { 237 RevenueReportImpl _object = (RevenueReportImpl)getRevenueReport(_base); 238 _object.setReportNumber(reportNumber); 239 _object.setReportedRevenue(reportedRevenue); 240 _object.setReportingCurrency(reportingCurrency); 241 _object.setReportingQuarter(reportingQuarter); 242 _object.setReportingYear(reportingYear); 243 _object.setAccessLevelBrowse(accessLevelBrowse); 244 _object.setAccessLevelDelete(accessLevelDelete); 245 _object.setAccessLevelUpdate(accessLevelUpdate); 246 _object.setDisabled(disabled); 247 return _object; 248 } 249 250 public RevenueReport extendXmlExporter( 254 org.opencrx.kernel.base.cci.XmlExporter _base 255 , short reportNumber 256 , java.math.BigDecimal reportedRevenue 257 , short reportingCurrency 258 , short reportingQuarter 259 , short reportingYear 260 , short accessLevelBrowse 261 , short accessLevelDelete 262 , short accessLevelUpdate 263 , boolean disabled 264 ) { 265 RevenueReportImpl _object = (RevenueReportImpl)getRevenueReport(_base); 266 _object.setReportNumber(reportNumber); 267 _object.setReportedRevenue(reportedRevenue); 268 _object.setReportingCurrency(reportingCurrency); 269 _object.setReportingQuarter(reportingQuarter); 270 _object.setReportingYear(reportingYear); 271 _object.setAccessLevelBrowse(accessLevelBrowse); 272 _object.setAccessLevelDelete(accessLevelDelete); 273 _object.setAccessLevelUpdate(accessLevelUpdate); 274 _object.setDisabled(disabled); 275 return _object; 276 } 277 278 public RevenueReport extendCrxObject( 282 org.opencrx.kernel.generic.cci.CrxObject _base 283 , short reportNumber 284 , java.math.BigDecimal reportedRevenue 285 , short reportingCurrency 286 , short reportingQuarter 287 , short reportingYear 288 ) { 289 RevenueReportImpl _object = (RevenueReportImpl)getRevenueReport(_base); 290 _object.setReportNumber(reportNumber); 291 _object.setReportedRevenue(reportedRevenue); 292 _object.setReportingCurrency(reportingCurrency); 293 _object.setReportingQuarter(reportingQuarter); 294 _object.setReportingYear(reportingYear); 295 return _object; 296 } 297 298 public RevenueReport extendBasicObject( 302 org.openmdx.base.cci.BasicObject _base 303 , short reportNumber 304 , java.math.BigDecimal reportedRevenue 305 , short reportingCurrency 306 , short reportingQuarter 307 , short reportingYear 308 , short accessLevelBrowse 309 , short accessLevelDelete 310 , short accessLevelUpdate 311 , boolean disabled 312 ) { 313 RevenueReportImpl _object = (RevenueReportImpl)getRevenueReport(_base); 314 _object.setReportNumber(reportNumber); 315 _object.setReportedRevenue(reportedRevenue); 316 _object.setReportingCurrency(reportingCurrency); 317 _object.setReportingQuarter(reportingQuarter); 318 _object.setReportingYear(reportingYear); 319 _object.setAccessLevelBrowse(accessLevelBrowse); 320 _object.setAccessLevelDelete(accessLevelDelete); 321 _object.setAccessLevelUpdate(accessLevelUpdate); 322 _object.setDisabled(disabled); 323 return _object; 324 } 325 326 public RevenueReport extendContextCapable( 330 org.openmdx.base.cci.ContextCapable _base 331 , short reportNumber 332 , java.math.BigDecimal reportedRevenue 333 , short reportingCurrency 334 , short reportingQuarter 335 , short reportingYear 336 , short accessLevelBrowse 337 , short accessLevelDelete 338 , short accessLevelUpdate 339 , boolean disabled 340 ) { 341 RevenueReportImpl _object = (RevenueReportImpl)getRevenueReport(_base); 342 _object.setReportNumber(reportNumber); 343 _object.setReportedRevenue(reportedRevenue); 344 _object.setReportingCurrency(reportingCurrency); 345 _object.setReportingQuarter(reportingQuarter); 346 _object.setReportingYear(reportingYear); 347 _object.setAccessLevelBrowse(accessLevelBrowse); 348 _object.setAccessLevelDelete(accessLevelDelete); 349 _object.setAccessLevelUpdate(accessLevelUpdate); 350 _object.setDisabled(disabled); 351 return _object; 352 } 353 354 public RevenueReport extendExtentCapable( 358 org.openmdx.base.cci.ExtentCapable _base 359 , short reportNumber 360 , java.math.BigDecimal reportedRevenue 361 , short reportingCurrency 362 , short reportingQuarter 363 , short reportingYear 364 , short accessLevelBrowse 365 , short accessLevelDelete 366 , short accessLevelUpdate 367 , boolean disabled 368 ) { 369 RevenueReportImpl _object = (RevenueReportImpl)getRevenueReport(_base); 370 _object.setReportNumber(reportNumber); 371 _object.setReportedRevenue(reportedRevenue); 372 _object.setReportingCurrency(reportingCurrency); 373 _object.setReportingQuarter(reportingQuarter); 374 _object.setReportingYear(reportingYear); 375 _object.setAccessLevelBrowse(accessLevelBrowse); 376 _object.setAccessLevelDelete(accessLevelDelete); 377 _object.setAccessLevelUpdate(accessLevelUpdate); 378 _object.setDisabled(disabled); 379 return _object; 380 } 381 382 public RevenueReport extendViewCapable( 386 org.openmdx.compatibility.view1.cci.ViewCapable _base 387 , short reportNumber 388 , java.math.BigDecimal reportedRevenue 389 , short reportingCurrency 390 , short reportingQuarter 391 , short reportingYear 392 , short accessLevelBrowse 393 , short accessLevelDelete 394 , short accessLevelUpdate 395 , boolean disabled 396 ) { 397 RevenueReportImpl _object = (RevenueReportImpl)getRevenueReport(_base); 398 _object.setReportNumber(reportNumber); 399 _object.setReportedRevenue(reportedRevenue); 400 _object.setReportingCurrency(reportingCurrency); 401 _object.setReportingQuarter(reportingQuarter); 402 _object.setReportingYear(reportingYear); 403 _object.setAccessLevelBrowse(accessLevelBrowse); 404 _object.setAccessLevelDelete(accessLevelDelete); 405 _object.setAccessLevelUpdate(accessLevelUpdate); 406 _object.setDisabled(disabled); 407 return _object; 408 } 409 410 } 414 | Popular Tags |