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