1 package org.opencrx.kernel.forecast1.cci; 14 15 public class ForecastClassImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefClass_1 17 implements ForecastClass { 18 19 public ForecastClassImpl( 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:forecast1:Forecast"; 28 } 29 30 public Forecast getForecast( 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 Forecast target = (Forecast)refCreateInstance( 38 args 39 ); 40 return target; 41 } else { 42 return (Forecast)((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 Forecast createForecast( 55 ) { 56 Forecast target = (Forecast)refCreateInstance( 57 null 58 ); 59 return target; 60 } 61 public Forecast createForecast( 65 short accessLevelBrowse 66 , short accessLevelDelete 67 , short accessLevelUpdate 68 , boolean disabled 69 ) { 70 ForecastImpl _object = (ForecastImpl)createForecast(); 71 _object.setAccessLevelBrowse(accessLevelBrowse); 72 _object.setAccessLevelDelete(accessLevelDelete); 73 _object.setAccessLevelUpdate(accessLevelUpdate); 74 _object.setDisabled(disabled); 75 return _object; 76 } 77 78 public Forecast extendAuditee( 82 org.opencrx.kernel.base.cci.Auditee _base 83 , short accessLevelBrowse 84 , short accessLevelDelete 85 , short accessLevelUpdate 86 , boolean disabled 87 ) { 88 ForecastImpl _object = (ForecastImpl)getForecast(_base); 89 _object.setAccessLevelBrowse(accessLevelBrowse); 90 _object.setAccessLevelDelete(accessLevelDelete); 91 _object.setAccessLevelUpdate(accessLevelUpdate); 92 _object.setDisabled(disabled); 93 return _object; 94 } 95 96 public Forecast extendBookmarkable( 100 org.opencrx.kernel.base.cci.Bookmarkable _base 101 , short accessLevelBrowse 102 , short accessLevelDelete 103 , short accessLevelUpdate 104 , boolean disabled 105 ) { 106 ForecastImpl _object = (ForecastImpl)getForecast(_base); 107 _object.setAccessLevelBrowse(accessLevelBrowse); 108 _object.setAccessLevelDelete(accessLevelDelete); 109 _object.setAccessLevelUpdate(accessLevelUpdate); 110 _object.setDisabled(disabled); 111 return _object; 112 } 113 114 public Forecast extendCloneable( 118 org.opencrx.kernel.base.cci.Cloneable _base 119 , short accessLevelBrowse 120 , short accessLevelDelete 121 , short accessLevelUpdate 122 , boolean disabled 123 ) { 124 ForecastImpl _object = (ForecastImpl)getForecast(_base); 125 _object.setAccessLevelBrowse(accessLevelBrowse); 126 _object.setAccessLevelDelete(accessLevelDelete); 127 _object.setAccessLevelUpdate(accessLevelUpdate); 128 _object.setDisabled(disabled); 129 return _object; 130 } 131 132 public Forecast extendImporter( 136 org.opencrx.kernel.base.cci.Importer _base 137 , short accessLevelBrowse 138 , short accessLevelDelete 139 , short accessLevelUpdate 140 , boolean disabled 141 ) { 142 ForecastImpl _object = (ForecastImpl)getForecast(_base); 143 _object.setAccessLevelBrowse(accessLevelBrowse); 144 _object.setAccessLevelDelete(accessLevelDelete); 145 _object.setAccessLevelUpdate(accessLevelUpdate); 146 _object.setDisabled(disabled); 147 return _object; 148 } 149 150 public Forecast extendSecureObject( 154 org.opencrx.kernel.base.cci.SecureObject _base 155 , boolean disabled 156 ) { 157 ForecastImpl _object = (ForecastImpl)getForecast(_base); 158 _object.setDisabled(disabled); 159 return _object; 160 } 161 162 public Forecast extendSubscriptionTarget( 166 org.opencrx.kernel.base.cci.SubscriptionTarget _base 167 , short accessLevelBrowse 168 , short accessLevelDelete 169 , short accessLevelUpdate 170 , boolean disabled 171 ) { 172 ForecastImpl _object = (ForecastImpl)getForecast(_base); 173 _object.setAccessLevelBrowse(accessLevelBrowse); 174 _object.setAccessLevelDelete(accessLevelDelete); 175 _object.setAccessLevelUpdate(accessLevelUpdate); 176 _object.setDisabled(disabled); 177 return _object; 178 } 179 180 public Forecast extendXmlExporter( 184 org.opencrx.kernel.base.cci.XmlExporter _base 185 , short accessLevelBrowse 186 , short accessLevelDelete 187 , short accessLevelUpdate 188 , boolean disabled 189 ) { 190 ForecastImpl _object = (ForecastImpl)getForecast(_base); 191 _object.setAccessLevelBrowse(accessLevelBrowse); 192 _object.setAccessLevelDelete(accessLevelDelete); 193 _object.setAccessLevelUpdate(accessLevelUpdate); 194 _object.setDisabled(disabled); 195 return _object; 196 } 197 198 public Forecast extendBasicObject( 202 org.openmdx.base.cci.BasicObject _base 203 , short accessLevelBrowse 204 , short accessLevelDelete 205 , short accessLevelUpdate 206 , boolean disabled 207 ) { 208 ForecastImpl _object = (ForecastImpl)getForecast(_base); 209 _object.setAccessLevelBrowse(accessLevelBrowse); 210 _object.setAccessLevelDelete(accessLevelDelete); 211 _object.setAccessLevelUpdate(accessLevelUpdate); 212 _object.setDisabled(disabled); 213 return _object; 214 } 215 216 public Forecast extendContextCapable( 220 org.openmdx.base.cci.ContextCapable _base 221 , short accessLevelBrowse 222 , short accessLevelDelete 223 , short accessLevelUpdate 224 , boolean disabled 225 ) { 226 ForecastImpl _object = (ForecastImpl)getForecast(_base); 227 _object.setAccessLevelBrowse(accessLevelBrowse); 228 _object.setAccessLevelDelete(accessLevelDelete); 229 _object.setAccessLevelUpdate(accessLevelUpdate); 230 _object.setDisabled(disabled); 231 return _object; 232 } 233 234 public Forecast extendExtentCapable( 238 org.openmdx.base.cci.ExtentCapable _base 239 , short accessLevelBrowse 240 , short accessLevelDelete 241 , short accessLevelUpdate 242 , boolean disabled 243 ) { 244 ForecastImpl _object = (ForecastImpl)getForecast(_base); 245 _object.setAccessLevelBrowse(accessLevelBrowse); 246 _object.setAccessLevelDelete(accessLevelDelete); 247 _object.setAccessLevelUpdate(accessLevelUpdate); 248 _object.setDisabled(disabled); 249 return _object; 250 } 251 252 public Forecast extendViewCapable( 256 org.openmdx.compatibility.view1.cci.ViewCapable _base 257 , short accessLevelBrowse 258 , short accessLevelDelete 259 , short accessLevelUpdate 260 , boolean disabled 261 ) { 262 ForecastImpl _object = (ForecastImpl)getForecast(_base); 263 _object.setAccessLevelBrowse(accessLevelBrowse); 264 _object.setAccessLevelDelete(accessLevelDelete); 265 _object.setAccessLevelUpdate(accessLevelUpdate); 266 _object.setDisabled(disabled); 267 return _object; 268 } 269 270 } 274 | Popular Tags |