1 package org.opencrx.kernel.account1.cci; 14 15 public class CreditLimitClassImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefClass_1 17 implements CreditLimitClass { 18 19 public CreditLimitClassImpl( 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:CreditLimit"; 28 } 29 30 public CreditLimit getCreditLimit( 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 CreditLimit target = (CreditLimit)refCreateInstance( 38 args 39 ); 40 return target; 41 } else { 42 return (CreditLimit)((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 CreditLimit createCreditLimit( 55 ) { 56 CreditLimit target = (CreditLimit)refCreateInstance( 57 null 58 ); 59 return target; 60 } 61 public CreditLimit createCreditLimit( 65 short creditCurrency 66 , short accessLevelBrowse 67 , short accessLevelDelete 68 , short accessLevelUpdate 69 , boolean disabled 70 ) { 71 CreditLimitImpl _object = (CreditLimitImpl)createCreditLimit(); 72 _object.setCreditCurrency(creditCurrency); 73 _object.setAccessLevelBrowse(accessLevelBrowse); 74 _object.setAccessLevelDelete(accessLevelDelete); 75 _object.setAccessLevelUpdate(accessLevelUpdate); 76 _object.setDisabled(disabled); 77 return _object; 78 } 79 80 public CreditLimit extendAuditee( 84 org.opencrx.kernel.base.cci.Auditee _base 85 , short creditCurrency 86 , short accessLevelBrowse 87 , short accessLevelDelete 88 , short accessLevelUpdate 89 , boolean disabled 90 ) { 91 CreditLimitImpl _object = (CreditLimitImpl)getCreditLimit(_base); 92 _object.setCreditCurrency(creditCurrency); 93 _object.setAccessLevelBrowse(accessLevelBrowse); 94 _object.setAccessLevelDelete(accessLevelDelete); 95 _object.setAccessLevelUpdate(accessLevelUpdate); 96 _object.setDisabled(disabled); 97 return _object; 98 } 99 100 public CreditLimit extendBookmarkable( 104 org.opencrx.kernel.base.cci.Bookmarkable _base 105 , short creditCurrency 106 , short accessLevelBrowse 107 , short accessLevelDelete 108 , short accessLevelUpdate 109 , boolean disabled 110 ) { 111 CreditLimitImpl _object = (CreditLimitImpl)getCreditLimit(_base); 112 _object.setCreditCurrency(creditCurrency); 113 _object.setAccessLevelBrowse(accessLevelBrowse); 114 _object.setAccessLevelDelete(accessLevelDelete); 115 _object.setAccessLevelUpdate(accessLevelUpdate); 116 _object.setDisabled(disabled); 117 return _object; 118 } 119 120 public CreditLimit extendCloneable( 124 org.opencrx.kernel.base.cci.Cloneable _base 125 , short creditCurrency 126 , short accessLevelBrowse 127 , short accessLevelDelete 128 , short accessLevelUpdate 129 , boolean disabled 130 ) { 131 CreditLimitImpl _object = (CreditLimitImpl)getCreditLimit(_base); 132 _object.setCreditCurrency(creditCurrency); 133 _object.setAccessLevelBrowse(accessLevelBrowse); 134 _object.setAccessLevelDelete(accessLevelDelete); 135 _object.setAccessLevelUpdate(accessLevelUpdate); 136 _object.setDisabled(disabled); 137 return _object; 138 } 139 140 public CreditLimit extendImporter( 144 org.opencrx.kernel.base.cci.Importer _base 145 , short creditCurrency 146 , short accessLevelBrowse 147 , short accessLevelDelete 148 , short accessLevelUpdate 149 , boolean disabled 150 ) { 151 CreditLimitImpl _object = (CreditLimitImpl)getCreditLimit(_base); 152 _object.setCreditCurrency(creditCurrency); 153 _object.setAccessLevelBrowse(accessLevelBrowse); 154 _object.setAccessLevelDelete(accessLevelDelete); 155 _object.setAccessLevelUpdate(accessLevelUpdate); 156 _object.setDisabled(disabled); 157 return _object; 158 } 159 160 public CreditLimit extendSecureObject( 164 org.opencrx.kernel.base.cci.SecureObject _base 165 , short creditCurrency 166 , boolean disabled 167 ) { 168 CreditLimitImpl _object = (CreditLimitImpl)getCreditLimit(_base); 169 _object.setCreditCurrency(creditCurrency); 170 _object.setDisabled(disabled); 171 return _object; 172 } 173 174 public CreditLimit extendSubscriptionTarget( 178 org.opencrx.kernel.base.cci.SubscriptionTarget _base 179 , short creditCurrency 180 , short accessLevelBrowse 181 , short accessLevelDelete 182 , short accessLevelUpdate 183 , boolean disabled 184 ) { 185 CreditLimitImpl _object = (CreditLimitImpl)getCreditLimit(_base); 186 _object.setCreditCurrency(creditCurrency); 187 _object.setAccessLevelBrowse(accessLevelBrowse); 188 _object.setAccessLevelDelete(accessLevelDelete); 189 _object.setAccessLevelUpdate(accessLevelUpdate); 190 _object.setDisabled(disabled); 191 return _object; 192 } 193 194 public CreditLimit extendXmlExporter( 198 org.opencrx.kernel.base.cci.XmlExporter _base 199 , short creditCurrency 200 , short accessLevelBrowse 201 , short accessLevelDelete 202 , short accessLevelUpdate 203 , boolean disabled 204 ) { 205 CreditLimitImpl _object = (CreditLimitImpl)getCreditLimit(_base); 206 _object.setCreditCurrency(creditCurrency); 207 _object.setAccessLevelBrowse(accessLevelBrowse); 208 _object.setAccessLevelDelete(accessLevelDelete); 209 _object.setAccessLevelUpdate(accessLevelUpdate); 210 _object.setDisabled(disabled); 211 return _object; 212 } 213 214 public CreditLimit extendCrxObject( 218 org.opencrx.kernel.generic.cci.CrxObject _base 219 , short creditCurrency 220 ) { 221 CreditLimitImpl _object = (CreditLimitImpl)getCreditLimit(_base); 222 _object.setCreditCurrency(creditCurrency); 223 return _object; 224 } 225 226 public CreditLimit extendBasicObject( 230 org.openmdx.base.cci.BasicObject _base 231 , short creditCurrency 232 , short accessLevelBrowse 233 , short accessLevelDelete 234 , short accessLevelUpdate 235 , boolean disabled 236 ) { 237 CreditLimitImpl _object = (CreditLimitImpl)getCreditLimit(_base); 238 _object.setCreditCurrency(creditCurrency); 239 _object.setAccessLevelBrowse(accessLevelBrowse); 240 _object.setAccessLevelDelete(accessLevelDelete); 241 _object.setAccessLevelUpdate(accessLevelUpdate); 242 _object.setDisabled(disabled); 243 return _object; 244 } 245 246 public CreditLimit extendContextCapable( 250 org.openmdx.base.cci.ContextCapable _base 251 , short creditCurrency 252 , short accessLevelBrowse 253 , short accessLevelDelete 254 , short accessLevelUpdate 255 , boolean disabled 256 ) { 257 CreditLimitImpl _object = (CreditLimitImpl)getCreditLimit(_base); 258 _object.setCreditCurrency(creditCurrency); 259 _object.setAccessLevelBrowse(accessLevelBrowse); 260 _object.setAccessLevelDelete(accessLevelDelete); 261 _object.setAccessLevelUpdate(accessLevelUpdate); 262 _object.setDisabled(disabled); 263 return _object; 264 } 265 266 public CreditLimit extendExtentCapable( 270 org.openmdx.base.cci.ExtentCapable _base 271 , short creditCurrency 272 , short accessLevelBrowse 273 , short accessLevelDelete 274 , short accessLevelUpdate 275 , boolean disabled 276 ) { 277 CreditLimitImpl _object = (CreditLimitImpl)getCreditLimit(_base); 278 _object.setCreditCurrency(creditCurrency); 279 _object.setAccessLevelBrowse(accessLevelBrowse); 280 _object.setAccessLevelDelete(accessLevelDelete); 281 _object.setAccessLevelUpdate(accessLevelUpdate); 282 _object.setDisabled(disabled); 283 return _object; 284 } 285 286 public CreditLimit extendViewCapable( 290 org.openmdx.compatibility.view1.cci.ViewCapable _base 291 , short creditCurrency 292 , short accessLevelBrowse 293 , short accessLevelDelete 294 , short accessLevelUpdate 295 , boolean disabled 296 ) { 297 CreditLimitImpl _object = (CreditLimitImpl)getCreditLimit(_base); 298 _object.setCreditCurrency(creditCurrency); 299 _object.setAccessLevelBrowse(accessLevelBrowse); 300 _object.setAccessLevelDelete(accessLevelDelete); 301 _object.setAccessLevelUpdate(accessLevelUpdate); 302 _object.setDisabled(disabled); 303 return _object; 304 } 305 306 } 310 | Popular Tags |