1 package org.opencrx.kernel.depot1.cci; 14 15 public class DepotReportItemCreditClassImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefClass_1 17 implements DepotReportItemCreditClass { 18 19 public DepotReportItemCreditClassImpl( 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:depot1:DepotReportItemCredit"; 28 } 29 30 public DepotReportItemCredit getDepotReportItemCredit( 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 DepotReportItemCredit target = (DepotReportItemCredit)refCreateInstance( 38 args 39 ); 40 return target; 41 } else { 42 return (DepotReportItemCredit)((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 DepotReportItemCredit createDepotReportItemCredit( 55 ) { 56 DepotReportItemCredit target = (DepotReportItemCredit)refCreateInstance( 57 null 58 ); 59 return target; 60 } 61 public DepotReportItemCredit createDepotReportItemCredit( 65 short accessLevelBrowse 66 , short accessLevelDelete 67 , short accessLevelUpdate 68 , String positionName 69 , java.util.Date valueDate 70 , java.math.BigDecimal balance 71 , java.math.BigDecimal balanceCredit 72 , java.math.BigDecimal balanceDebit 73 , java.util.Date bookingDate 74 , java.math.BigDecimal quantityCredit 75 ) { 76 DepotReportItemCreditImpl _object = (DepotReportItemCreditImpl)createDepotReportItemCredit(); 77 _object.setAccessLevelBrowse(accessLevelBrowse); 78 _object.setAccessLevelDelete(accessLevelDelete); 79 _object.setAccessLevelUpdate(accessLevelUpdate); 80 _object.setPositionName(positionName); 81 _object.setValueDate(valueDate); 82 _object.setBalance(balance); 83 _object.setBalanceCredit(balanceCredit); 84 _object.setBalanceDebit(balanceDebit); 85 _object.setBookingDate(bookingDate); 86 _object.setQuantityCredit(quantityCredit); 87 return _object; 88 } 89 90 public DepotReportItemCredit extendSecureObject( 94 org.opencrx.kernel.base.cci.SecureObject _base 95 , String positionName 96 , java.util.Date valueDate 97 , java.math.BigDecimal balance 98 , java.math.BigDecimal balanceCredit 99 , java.math.BigDecimal balanceDebit 100 , java.util.Date bookingDate 101 , java.math.BigDecimal quantityCredit 102 ) { 103 DepotReportItemCreditImpl _object = (DepotReportItemCreditImpl)getDepotReportItemCredit(_base); 104 _object.setPositionName(positionName); 105 _object.setValueDate(valueDate); 106 _object.setBalance(balance); 107 _object.setBalanceCredit(balanceCredit); 108 _object.setBalanceDebit(balanceDebit); 109 _object.setBookingDate(bookingDate); 110 _object.setQuantityCredit(quantityCredit); 111 return _object; 112 } 113 114 public DepotReportItemCredit extendDepotReportItem( 118 org.opencrx.kernel.depot1.cci.DepotReportItem _base 119 , java.math.BigDecimal balance 120 , java.math.BigDecimal balanceCredit 121 , java.math.BigDecimal balanceDebit 122 , java.util.Date bookingDate 123 , java.math.BigDecimal quantityCredit 124 ) { 125 DepotReportItemCreditImpl _object = (DepotReportItemCreditImpl)getDepotReportItemCredit(_base); 126 _object.setBalance(balance); 127 _object.setBalanceCredit(balanceCredit); 128 _object.setBalanceDebit(balanceDebit); 129 _object.setBookingDate(bookingDate); 130 _object.setQuantityCredit(quantityCredit); 131 return _object; 132 } 133 134 public DepotReportItemCredit extendDepotReportItemBooking( 138 org.opencrx.kernel.depot1.cci.DepotReportItemBooking _base 139 , java.math.BigDecimal quantityCredit 140 ) { 141 DepotReportItemCreditImpl _object = (DepotReportItemCreditImpl)getDepotReportItemCredit(_base); 142 _object.setQuantityCredit(quantityCredit); 143 return _object; 144 } 145 146 public DepotReportItemCredit extendBasicObject( 150 org.openmdx.base.cci.BasicObject _base 151 , short accessLevelBrowse 152 , short accessLevelDelete 153 , short accessLevelUpdate 154 , String positionName 155 , java.util.Date valueDate 156 , java.math.BigDecimal balance 157 , java.math.BigDecimal balanceCredit 158 , java.math.BigDecimal balanceDebit 159 , java.util.Date bookingDate 160 , java.math.BigDecimal quantityCredit 161 ) { 162 DepotReportItemCreditImpl _object = (DepotReportItemCreditImpl)getDepotReportItemCredit(_base); 163 _object.setAccessLevelBrowse(accessLevelBrowse); 164 _object.setAccessLevelDelete(accessLevelDelete); 165 _object.setAccessLevelUpdate(accessLevelUpdate); 166 _object.setPositionName(positionName); 167 _object.setValueDate(valueDate); 168 _object.setBalance(balance); 169 _object.setBalanceCredit(balanceCredit); 170 _object.setBalanceDebit(balanceDebit); 171 _object.setBookingDate(bookingDate); 172 _object.setQuantityCredit(quantityCredit); 173 return _object; 174 } 175 176 public DepotReportItemCredit extendContextCapable( 180 org.openmdx.base.cci.ContextCapable _base 181 , short accessLevelBrowse 182 , short accessLevelDelete 183 , short accessLevelUpdate 184 , String positionName 185 , java.util.Date valueDate 186 , java.math.BigDecimal balance 187 , java.math.BigDecimal balanceCredit 188 , java.math.BigDecimal balanceDebit 189 , java.util.Date bookingDate 190 , java.math.BigDecimal quantityCredit 191 ) { 192 DepotReportItemCreditImpl _object = (DepotReportItemCreditImpl)getDepotReportItemCredit(_base); 193 _object.setAccessLevelBrowse(accessLevelBrowse); 194 _object.setAccessLevelDelete(accessLevelDelete); 195 _object.setAccessLevelUpdate(accessLevelUpdate); 196 _object.setPositionName(positionName); 197 _object.setValueDate(valueDate); 198 _object.setBalance(balance); 199 _object.setBalanceCredit(balanceCredit); 200 _object.setBalanceDebit(balanceDebit); 201 _object.setBookingDate(bookingDate); 202 _object.setQuantityCredit(quantityCredit); 203 return _object; 204 } 205 206 public DepotReportItemCredit extendExtentCapable( 210 org.openmdx.base.cci.ExtentCapable _base 211 , short accessLevelBrowse 212 , short accessLevelDelete 213 , short accessLevelUpdate 214 , String positionName 215 , java.util.Date valueDate 216 , java.math.BigDecimal balance 217 , java.math.BigDecimal balanceCredit 218 , java.math.BigDecimal balanceDebit 219 , java.util.Date bookingDate 220 , java.math.BigDecimal quantityCredit 221 ) { 222 DepotReportItemCreditImpl _object = (DepotReportItemCreditImpl)getDepotReportItemCredit(_base); 223 _object.setAccessLevelBrowse(accessLevelBrowse); 224 _object.setAccessLevelDelete(accessLevelDelete); 225 _object.setAccessLevelUpdate(accessLevelUpdate); 226 _object.setPositionName(positionName); 227 _object.setValueDate(valueDate); 228 _object.setBalance(balance); 229 _object.setBalanceCredit(balanceCredit); 230 _object.setBalanceDebit(balanceDebit); 231 _object.setBookingDate(bookingDate); 232 _object.setQuantityCredit(quantityCredit); 233 return _object; 234 } 235 236 public DepotReportItemCredit extendViewCapable( 240 org.openmdx.compatibility.view1.cci.ViewCapable _base 241 , short accessLevelBrowse 242 , short accessLevelDelete 243 , short accessLevelUpdate 244 , String positionName 245 , java.util.Date valueDate 246 , java.math.BigDecimal balance 247 , java.math.BigDecimal balanceCredit 248 , java.math.BigDecimal balanceDebit 249 , java.util.Date bookingDate 250 , java.math.BigDecimal quantityCredit 251 ) { 252 DepotReportItemCreditImpl _object = (DepotReportItemCreditImpl)getDepotReportItemCredit(_base); 253 _object.setAccessLevelBrowse(accessLevelBrowse); 254 _object.setAccessLevelDelete(accessLevelDelete); 255 _object.setAccessLevelUpdate(accessLevelUpdate); 256 _object.setPositionName(positionName); 257 _object.setValueDate(valueDate); 258 _object.setBalance(balance); 259 _object.setBalanceCredit(balanceCredit); 260 _object.setBalanceDebit(balanceDebit); 261 _object.setBookingDate(bookingDate); 262 _object.setQuantityCredit(quantityCredit); 263 return _object; 264 } 265 266 } 270 | Popular Tags |