1 package org.opencrx.kernel.depot1.cci; 14 15 public class DepotReportItemPositionClassImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefClass_1 17 implements DepotReportItemPositionClass { 18 19 public DepotReportItemPositionClassImpl( 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:DepotReportItemPosition"; 28 } 29 30 public DepotReportItemPosition getDepotReportItemPosition( 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 DepotReportItemPosition target = (DepotReportItemPosition)refCreateInstance( 38 args 39 ); 40 return target; 41 } else { 42 return (DepotReportItemPosition)((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 DepotReportItemPosition createDepotReportItemPosition( 55 ) { 56 DepotReportItemPosition target = (DepotReportItemPosition)refCreateInstance( 57 null 58 ); 59 return target; 60 } 61 public DepotReportItemPosition createDepotReportItemPosition( 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 balanceBop 72 , java.math.BigDecimal balanceCredit 73 , java.math.BigDecimal balanceCreditBop 74 , java.math.BigDecimal balanceDebit 75 , java.math.BigDecimal balanceDebitBop 76 ) { 77 DepotReportItemPositionImpl _object = (DepotReportItemPositionImpl)createDepotReportItemPosition(); 78 _object.setAccessLevelBrowse(accessLevelBrowse); 79 _object.setAccessLevelDelete(accessLevelDelete); 80 _object.setAccessLevelUpdate(accessLevelUpdate); 81 _object.setPositionName(positionName); 82 _object.setValueDate(valueDate); 83 _object.setBalance(balance); 84 _object.setBalanceBop(balanceBop); 85 _object.setBalanceCredit(balanceCredit); 86 _object.setBalanceCreditBop(balanceCreditBop); 87 _object.setBalanceDebit(balanceDebit); 88 _object.setBalanceDebitBop(balanceDebitBop); 89 return _object; 90 } 91 92 public DepotReportItemPosition extendSecureObject( 96 org.opencrx.kernel.base.cci.SecureObject _base 97 , String positionName 98 , java.util.Date valueDate 99 , java.math.BigDecimal balance 100 , java.math.BigDecimal balanceBop 101 , java.math.BigDecimal balanceCredit 102 , java.math.BigDecimal balanceCreditBop 103 , java.math.BigDecimal balanceDebit 104 , java.math.BigDecimal balanceDebitBop 105 ) { 106 DepotReportItemPositionImpl _object = (DepotReportItemPositionImpl)getDepotReportItemPosition(_base); 107 _object.setPositionName(positionName); 108 _object.setValueDate(valueDate); 109 _object.setBalance(balance); 110 _object.setBalanceBop(balanceBop); 111 _object.setBalanceCredit(balanceCredit); 112 _object.setBalanceCreditBop(balanceCreditBop); 113 _object.setBalanceDebit(balanceDebit); 114 _object.setBalanceDebitBop(balanceDebitBop); 115 return _object; 116 } 117 118 public DepotReportItemPosition extendDepotReportItem( 122 org.opencrx.kernel.depot1.cci.DepotReportItem _base 123 , java.math.BigDecimal balance 124 , java.math.BigDecimal balanceBop 125 , java.math.BigDecimal balanceCredit 126 , java.math.BigDecimal balanceCreditBop 127 , java.math.BigDecimal balanceDebit 128 , java.math.BigDecimal balanceDebitBop 129 ) { 130 DepotReportItemPositionImpl _object = (DepotReportItemPositionImpl)getDepotReportItemPosition(_base); 131 _object.setBalance(balance); 132 _object.setBalanceBop(balanceBop); 133 _object.setBalanceCredit(balanceCredit); 134 _object.setBalanceCreditBop(balanceCreditBop); 135 _object.setBalanceDebit(balanceDebit); 136 _object.setBalanceDebitBop(balanceDebitBop); 137 return _object; 138 } 139 140 public DepotReportItemPosition extendBasicObject( 144 org.openmdx.base.cci.BasicObject _base 145 , short accessLevelBrowse 146 , short accessLevelDelete 147 , short accessLevelUpdate 148 , String positionName 149 , java.util.Date valueDate 150 , java.math.BigDecimal balance 151 , java.math.BigDecimal balanceBop 152 , java.math.BigDecimal balanceCredit 153 , java.math.BigDecimal balanceCreditBop 154 , java.math.BigDecimal balanceDebit 155 , java.math.BigDecimal balanceDebitBop 156 ) { 157 DepotReportItemPositionImpl _object = (DepotReportItemPositionImpl)getDepotReportItemPosition(_base); 158 _object.setAccessLevelBrowse(accessLevelBrowse); 159 _object.setAccessLevelDelete(accessLevelDelete); 160 _object.setAccessLevelUpdate(accessLevelUpdate); 161 _object.setPositionName(positionName); 162 _object.setValueDate(valueDate); 163 _object.setBalance(balance); 164 _object.setBalanceBop(balanceBop); 165 _object.setBalanceCredit(balanceCredit); 166 _object.setBalanceCreditBop(balanceCreditBop); 167 _object.setBalanceDebit(balanceDebit); 168 _object.setBalanceDebitBop(balanceDebitBop); 169 return _object; 170 } 171 172 public DepotReportItemPosition extendContextCapable( 176 org.openmdx.base.cci.ContextCapable _base 177 , short accessLevelBrowse 178 , short accessLevelDelete 179 , short accessLevelUpdate 180 , String positionName 181 , java.util.Date valueDate 182 , java.math.BigDecimal balance 183 , java.math.BigDecimal balanceBop 184 , java.math.BigDecimal balanceCredit 185 , java.math.BigDecimal balanceCreditBop 186 , java.math.BigDecimal balanceDebit 187 , java.math.BigDecimal balanceDebitBop 188 ) { 189 DepotReportItemPositionImpl _object = (DepotReportItemPositionImpl)getDepotReportItemPosition(_base); 190 _object.setAccessLevelBrowse(accessLevelBrowse); 191 _object.setAccessLevelDelete(accessLevelDelete); 192 _object.setAccessLevelUpdate(accessLevelUpdate); 193 _object.setPositionName(positionName); 194 _object.setValueDate(valueDate); 195 _object.setBalance(balance); 196 _object.setBalanceBop(balanceBop); 197 _object.setBalanceCredit(balanceCredit); 198 _object.setBalanceCreditBop(balanceCreditBop); 199 _object.setBalanceDebit(balanceDebit); 200 _object.setBalanceDebitBop(balanceDebitBop); 201 return _object; 202 } 203 204 public DepotReportItemPosition extendExtentCapable( 208 org.openmdx.base.cci.ExtentCapable _base 209 , short accessLevelBrowse 210 , short accessLevelDelete 211 , short accessLevelUpdate 212 , String positionName 213 , java.util.Date valueDate 214 , java.math.BigDecimal balance 215 , java.math.BigDecimal balanceBop 216 , java.math.BigDecimal balanceCredit 217 , java.math.BigDecimal balanceCreditBop 218 , java.math.BigDecimal balanceDebit 219 , java.math.BigDecimal balanceDebitBop 220 ) { 221 DepotReportItemPositionImpl _object = (DepotReportItemPositionImpl)getDepotReportItemPosition(_base); 222 _object.setAccessLevelBrowse(accessLevelBrowse); 223 _object.setAccessLevelDelete(accessLevelDelete); 224 _object.setAccessLevelUpdate(accessLevelUpdate); 225 _object.setPositionName(positionName); 226 _object.setValueDate(valueDate); 227 _object.setBalance(balance); 228 _object.setBalanceBop(balanceBop); 229 _object.setBalanceCredit(balanceCredit); 230 _object.setBalanceCreditBop(balanceCreditBop); 231 _object.setBalanceDebit(balanceDebit); 232 _object.setBalanceDebitBop(balanceDebitBop); 233 return _object; 234 } 235 236 public DepotReportItemPosition 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 balanceBop 248 , java.math.BigDecimal balanceCredit 249 , java.math.BigDecimal balanceCreditBop 250 , java.math.BigDecimal balanceDebit 251 , java.math.BigDecimal balanceDebitBop 252 ) { 253 DepotReportItemPositionImpl _object = (DepotReportItemPositionImpl)getDepotReportItemPosition(_base); 254 _object.setAccessLevelBrowse(accessLevelBrowse); 255 _object.setAccessLevelDelete(accessLevelDelete); 256 _object.setAccessLevelUpdate(accessLevelUpdate); 257 _object.setPositionName(positionName); 258 _object.setValueDate(valueDate); 259 _object.setBalance(balance); 260 _object.setBalanceBop(balanceBop); 261 _object.setBalanceCredit(balanceCredit); 262 _object.setBalanceCreditBop(balanceCreditBop); 263 _object.setBalanceDebit(balanceDebit); 264 _object.setBalanceDebitBop(balanceDebitBop); 265 return _object; 266 } 267 268 } 272 | Popular Tags |