1 package org.opencrx.kernel.base.cci; 14 15 public class BooleanReplacementClassImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefClass_1 17 implements BooleanReplacementClass { 18 19 public BooleanReplacementClassImpl( 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:base:BooleanReplacement"; 28 } 29 30 public BooleanReplacement getBooleanReplacement( 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 BooleanReplacement target = (BooleanReplacement)refCreateInstance( 38 args 39 ); 40 return target; 41 } else { 42 return (BooleanReplacement)((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 BooleanReplacement createBooleanReplacement( 55 ) { 56 BooleanReplacement target = (BooleanReplacement)refCreateInstance( 57 null 58 ); 59 return target; 60 } 61 public BooleanReplacement createBooleanReplacement( 65 boolean newBoolean 66 , short accessLevelBrowse 67 , short accessLevelDelete 68 , short accessLevelUpdate 69 ) { 70 BooleanReplacementImpl _object = (BooleanReplacementImpl)createBooleanReplacement(); 71 _object.setNewBoolean(newBoolean); 72 _object.setAccessLevelBrowse(accessLevelBrowse); 73 _object.setAccessLevelDelete(accessLevelDelete); 74 _object.setAccessLevelUpdate(accessLevelUpdate); 75 return _object; 76 } 77 78 public BooleanReplacement extendSecureObject( 82 org.opencrx.kernel.base.cci.SecureObject _base 83 , boolean newBoolean 84 ) { 85 BooleanReplacementImpl _object = (BooleanReplacementImpl)getBooleanReplacement(_base); 86 _object.setNewBoolean(newBoolean); 87 return _object; 88 } 89 90 public BooleanReplacement extendTemplateReplacement( 94 org.opencrx.kernel.base.cci.TemplateReplacement _base 95 , boolean newBoolean 96 ) { 97 BooleanReplacementImpl _object = (BooleanReplacementImpl)getBooleanReplacement(_base); 98 _object.setNewBoolean(newBoolean); 99 return _object; 100 } 101 102 public BooleanReplacement extendBasicObject( 106 org.openmdx.base.cci.BasicObject _base 107 , boolean newBoolean 108 , short accessLevelBrowse 109 , short accessLevelDelete 110 , short accessLevelUpdate 111 ) { 112 BooleanReplacementImpl _object = (BooleanReplacementImpl)getBooleanReplacement(_base); 113 _object.setNewBoolean(newBoolean); 114 _object.setAccessLevelBrowse(accessLevelBrowse); 115 _object.setAccessLevelDelete(accessLevelDelete); 116 _object.setAccessLevelUpdate(accessLevelUpdate); 117 return _object; 118 } 119 120 public BooleanReplacement extendContextCapable( 124 org.openmdx.base.cci.ContextCapable _base 125 , boolean newBoolean 126 , short accessLevelBrowse 127 , short accessLevelDelete 128 , short accessLevelUpdate 129 ) { 130 BooleanReplacementImpl _object = (BooleanReplacementImpl)getBooleanReplacement(_base); 131 _object.setNewBoolean(newBoolean); 132 _object.setAccessLevelBrowse(accessLevelBrowse); 133 _object.setAccessLevelDelete(accessLevelDelete); 134 _object.setAccessLevelUpdate(accessLevelUpdate); 135 return _object; 136 } 137 138 public BooleanReplacement extendExtentCapable( 142 org.openmdx.base.cci.ExtentCapable _base 143 , boolean newBoolean 144 , short accessLevelBrowse 145 , short accessLevelDelete 146 , short accessLevelUpdate 147 ) { 148 BooleanReplacementImpl _object = (BooleanReplacementImpl)getBooleanReplacement(_base); 149 _object.setNewBoolean(newBoolean); 150 _object.setAccessLevelBrowse(accessLevelBrowse); 151 _object.setAccessLevelDelete(accessLevelDelete); 152 _object.setAccessLevelUpdate(accessLevelUpdate); 153 return _object; 154 } 155 156 public BooleanReplacement extendViewCapable( 160 org.openmdx.compatibility.view1.cci.ViewCapable _base 161 , boolean newBoolean 162 , short accessLevelBrowse 163 , short accessLevelDelete 164 , short accessLevelUpdate 165 ) { 166 BooleanReplacementImpl _object = (BooleanReplacementImpl)getBooleanReplacement(_base); 167 _object.setNewBoolean(newBoolean); 168 _object.setAccessLevelBrowse(accessLevelBrowse); 169 _object.setAccessLevelDelete(accessLevelDelete); 170 _object.setAccessLevelUpdate(accessLevelUpdate); 171 return _object; 172 } 173 174 } 178 | Popular Tags |