1 package org.opencrx.kernel.account1.cci; 14 15 public class SearchIndexEntryClassImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefClass_1 17 implements SearchIndexEntryClass { 18 19 public SearchIndexEntryClassImpl( 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:SearchIndexEntry"; 28 } 29 30 public SearchIndexEntry getSearchIndexEntry( 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 SearchIndexEntry target = (SearchIndexEntry)refCreateInstance( 38 args 39 ); 40 return target; 41 } else { 42 return (SearchIndexEntry)((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 SearchIndexEntry createSearchIndexEntry( 55 ) { 56 SearchIndexEntry target = (SearchIndexEntry)refCreateInstance( 57 null 58 ); 59 return target; 60 } 61 public SearchIndexEntry createSearchIndexEntry( 65 org.opencrx.kernel.account1.cci.Account account 66 , String accountAddressIndex 67 ) { 68 SearchIndexEntryImpl _object = (SearchIndexEntryImpl)createSearchIndexEntry(); 69 _object.setAccount(account); 70 _object.setAccountAddressIndex(accountAddressIndex); 71 return _object; 72 } 73 74 public SearchIndexEntry extendBasicObject( 78 org.openmdx.base.cci.BasicObject _base 79 , org.opencrx.kernel.account1.cci.Account account 80 , String accountAddressIndex 81 ) { 82 SearchIndexEntryImpl _object = (SearchIndexEntryImpl)getSearchIndexEntry(_base); 83 _object.setAccount(account); 84 _object.setAccountAddressIndex(accountAddressIndex); 85 return _object; 86 } 87 88 public SearchIndexEntry extendContextCapable( 92 org.openmdx.base.cci.ContextCapable _base 93 , org.opencrx.kernel.account1.cci.Account account 94 , String accountAddressIndex 95 ) { 96 SearchIndexEntryImpl _object = (SearchIndexEntryImpl)getSearchIndexEntry(_base); 97 _object.setAccount(account); 98 _object.setAccountAddressIndex(accountAddressIndex); 99 return _object; 100 } 101 102 public SearchIndexEntry extendExtentCapable( 106 org.openmdx.base.cci.ExtentCapable _base 107 , org.opencrx.kernel.account1.cci.Account account 108 , String accountAddressIndex 109 ) { 110 SearchIndexEntryImpl _object = (SearchIndexEntryImpl)getSearchIndexEntry(_base); 111 _object.setAccount(account); 112 _object.setAccountAddressIndex(accountAddressIndex); 113 return _object; 114 } 115 116 public SearchIndexEntry extendViewCapable( 120 org.openmdx.compatibility.view1.cci.ViewCapable _base 121 , org.opencrx.kernel.account1.cci.Account account 122 , String accountAddressIndex 123 ) { 124 SearchIndexEntryImpl _object = (SearchIndexEntryImpl)getSearchIndexEntry(_base); 125 _object.setAccount(account); 126 _object.setAccountAddressIndex(accountAddressIndex); 127 return _object; 128 } 129 130 } 134 | Popular Tags |