1 package org.opencrx.kernel.depot1.cci; 14 15 public class DepotReportItemDebitClassImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefClass_1 17 implements DepotReportItemDebitClass { 18 19 public DepotReportItemDebitClassImpl( 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:DepotReportItemDebit"; 28 } 29 30 public DepotReportItemDebit getDepotReportItemDebit( 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 DepotReportItemDebit target = (DepotReportItemDebit)refCreateInstance( 38 args 39 ); 40 return target; 41 } else { 42 return (DepotReportItemDebit)((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 DepotReportItemDebit createDepotReportItemDebit( 55 ) { 56 DepotReportItemDebit target = (DepotReportItemDebit)refCreateInstance( 57 null 58 ); 59 return target; 60 } 61 public DepotReportItemDebit createDepotReportItemDebit( 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 quantityDebit 75 ) { 76 DepotReportItemDebitImpl _object = (DepotReportItemDebitImpl)createDepotReportItemDebit(); 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.setQuantityDebit(quantityDebit); 87 return _object; 88 } 89 90 public DepotReportItemDebit 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 quantityDebit 102 ) { 103 DepotReportItemDebitImpl _object = (DepotReportItemDebitImpl)getDepotReportItemDebit(_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.setQuantityDebit(quantityDebit); 111 return _object; 112 } 113 114 public DepotReportItemDebit 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 quantityDebit 124 ) { 125 DepotReportItemDebitImpl _object = (DepotReportItemDebitImpl)getDepotReportItemDebit(_base); 126 _object.setBalance(balance); 127 _object.setBalanceCredit(balanceCredit); 128 _object.setBalanceDebit(balanceDebit); 129 _object.setBookingDate(bookingDate); 130 _object.setQuantityDebit(quantityDebit); 131 return _object; 132 } 133 134 public DepotReportItemDebit extendDepotReportItemBooking( 138 org.opencrx.kernel.depot1.cci.DepotReportItemBooking _base 139 , java.math.BigDecimal quantityDebit 140 ) { 141 DepotReportItemDebitImpl _object = (DepotReportItemDebitImpl)getDepotReportItemDebit(_base); 142 _object.setQuantityDebit(quantityDebit); 143 return _object; 144 } 145 146 public DepotReportItemDebit 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 quantityDebit 161 ) { 162 DepotReportItemDebitImpl _object = (DepotReportItemDebitImpl)getDepotReportItemDebit(_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.setQuantityDebit(quantityDebit); 173 return _object; 174 } 175 176 public DepotReportItemDebit 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 quantityDebit 191 ) { 192 DepotReportItemDebitImpl _object = (DepotReportItemDebitImpl)getDepotReportItemDebit(_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.setQuantityDebit(quantityDebit); 203 return _object; 204 } 205 206 public DepotReportItemDebit 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 quantityDebit 221 ) { 222 DepotReportItemDebitImpl _object = (DepotReportItemDebitImpl)getDepotReportItemDebit(_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.setQuantityDebit(quantityDebit); 233 return _object; 234 } 235 236 public DepotReportItemDebit 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 quantityDebit 251 ) { 252 DepotReportItemDebitImpl _object = (DepotReportItemDebitImpl)getDepotReportItemDebit(_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.setQuantityDebit(quantityDebit); 263 return _object; 264 } 265 266 } 270 | Popular Tags |