1 package org.opencrx.kernel.contract1.cci; 14 15 public class CustomerContractRoleClassImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefClass_1 17 implements CustomerContractRoleClass { 18 19 public CustomerContractRoleClassImpl( 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:contract1:CustomerContractRole"; 28 } 29 30 public CustomerContractRole getCustomerContractRole( 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 CustomerContractRole target = (CustomerContractRole)refCreateInstance( 38 args 39 ); 40 return target; 41 } else { 42 return (CustomerContractRole)((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 CustomerContractRole createCustomerContractRole( 55 ) { 56 CustomerContractRole target = (CustomerContractRole)refCreateInstance( 57 null 58 ); 59 return target; 60 } 61 public CustomerContractRole createCustomerContractRole( 65 short accountRating 66 , short accountState 67 , short accountType 68 , short accessLevelBrowse 69 , short accessLevelDelete 70 , short accessLevelUpdate 71 ) { 72 CustomerContractRoleImpl _object = (CustomerContractRoleImpl)createCustomerContractRole(); 73 _object.setAccountRating(accountRating); 74 _object.setAccountState(accountState); 75 _object.setAccountType(accountType); 76 _object.setAccessLevelBrowse(accessLevelBrowse); 77 _object.setAccessLevelDelete(accessLevelDelete); 78 _object.setAccessLevelUpdate(accessLevelUpdate); 79 return _object; 80 } 81 82 public CustomerContractRole extendAbstractAccount( 86 org.opencrx.kernel.account1.cci.AbstractAccount _base 87 , short accessLevelBrowse 88 , short accessLevelDelete 89 , short accessLevelUpdate 90 ) { 91 CustomerContractRoleImpl _object = (CustomerContractRoleImpl)getCustomerContractRole(_base); 92 _object.setAccessLevelBrowse(accessLevelBrowse); 93 _object.setAccessLevelDelete(accessLevelDelete); 94 _object.setAccessLevelUpdate(accessLevelUpdate); 95 return _object; 96 } 97 98 public CustomerContractRole extendSecureObject( 102 org.opencrx.kernel.base.cci.SecureObject _base 103 , short accountRating 104 , short accountState 105 , short accountType 106 ) { 107 CustomerContractRoleImpl _object = (CustomerContractRoleImpl)getCustomerContractRole(_base); 108 _object.setAccountRating(accountRating); 109 _object.setAccountState(accountState); 110 _object.setAccountType(accountType); 111 return _object; 112 } 113 114 public CustomerContractRole extendBasicObject( 118 org.openmdx.base.cci.BasicObject _base 119 , short accountRating 120 , short accountState 121 , short accountType 122 , short accessLevelBrowse 123 , short accessLevelDelete 124 , short accessLevelUpdate 125 ) { 126 CustomerContractRoleImpl _object = (CustomerContractRoleImpl)getCustomerContractRole(_base); 127 _object.setAccountRating(accountRating); 128 _object.setAccountState(accountState); 129 _object.setAccountType(accountType); 130 _object.setAccessLevelBrowse(accessLevelBrowse); 131 _object.setAccessLevelDelete(accessLevelDelete); 132 _object.setAccessLevelUpdate(accessLevelUpdate); 133 return _object; 134 } 135 136 public CustomerContractRole extendContextCapable( 140 org.openmdx.base.cci.ContextCapable _base 141 , short accountRating 142 , short accountState 143 , short accountType 144 , short accessLevelBrowse 145 , short accessLevelDelete 146 , short accessLevelUpdate 147 ) { 148 CustomerContractRoleImpl _object = (CustomerContractRoleImpl)getCustomerContractRole(_base); 149 _object.setAccountRating(accountRating); 150 _object.setAccountState(accountState); 151 _object.setAccountType(accountType); 152 _object.setAccessLevelBrowse(accessLevelBrowse); 153 _object.setAccessLevelDelete(accessLevelDelete); 154 _object.setAccessLevelUpdate(accessLevelUpdate); 155 return _object; 156 } 157 158 public CustomerContractRole extendExtentCapable( 162 org.openmdx.base.cci.ExtentCapable _base 163 , short accountRating 164 , short accountState 165 , short accountType 166 , short accessLevelBrowse 167 , short accessLevelDelete 168 , short accessLevelUpdate 169 ) { 170 CustomerContractRoleImpl _object = (CustomerContractRoleImpl)getCustomerContractRole(_base); 171 _object.setAccountRating(accountRating); 172 _object.setAccountState(accountState); 173 _object.setAccountType(accountType); 174 _object.setAccessLevelBrowse(accessLevelBrowse); 175 _object.setAccessLevelDelete(accessLevelDelete); 176 _object.setAccessLevelUpdate(accessLevelUpdate); 177 return _object; 178 } 179 180 public CustomerContractRole extendViewCapable( 184 org.openmdx.compatibility.view1.cci.ViewCapable _base 185 , short accountRating 186 , short accountState 187 , short accountType 188 , short accessLevelBrowse 189 , short accessLevelDelete 190 , short accessLevelUpdate 191 ) { 192 CustomerContractRoleImpl _object = (CustomerContractRoleImpl)getCustomerContractRole(_base); 193 _object.setAccountRating(accountRating); 194 _object.setAccountState(accountState); 195 _object.setAccountType(accountType); 196 _object.setAccessLevelBrowse(accessLevelBrowse); 197 _object.setAccessLevelDelete(accessLevelDelete); 198 _object.setAccessLevelUpdate(accessLevelUpdate); 199 return _object; 200 } 201 202 } 206 | Popular Tags |