1 package org.opencrx.kernel.activity1.cci; 14 15 public class ActivityMilestoneClassImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefClass_1 17 implements ActivityMilestoneClass { 18 19 public ActivityMilestoneClassImpl( 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:activity1:ActivityMilestone"; 28 } 29 30 public ActivityMilestone getActivityMilestone( 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 ActivityMilestone target = (ActivityMilestone)refCreateInstance( 38 args 39 ); 40 return target; 41 } else { 42 return (ActivityMilestone)((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 ActivityMilestone createActivityMilestone( 55 ) { 56 ActivityMilestone target = (ActivityMilestone)refCreateInstance( 57 null 58 ); 59 return target; 60 } 61 public ActivityMilestone createActivityMilestone( 65 String name 66 , short accessLevelBrowse 67 , short accessLevelDelete 68 , short accessLevelUpdate 69 , boolean disabled 70 ) { 71 ActivityMilestoneImpl _object = (ActivityMilestoneImpl)createActivityMilestone(); 72 _object.setName(name); 73 _object.setAccessLevelBrowse(accessLevelBrowse); 74 _object.setAccessLevelDelete(accessLevelDelete); 75 _object.setAccessLevelUpdate(accessLevelUpdate); 76 _object.setDisabled(disabled); 77 return _object; 78 } 79 80 public ActivityMilestone extendActivityGroup( 84 org.opencrx.kernel.activity1.cci.ActivityGroup _base 85 , short accessLevelBrowse 86 , short accessLevelDelete 87 , short accessLevelUpdate 88 , boolean disabled 89 ) { 90 ActivityMilestoneImpl _object = (ActivityMilestoneImpl)getActivityMilestone(_base); 91 _object.setAccessLevelBrowse(accessLevelBrowse); 92 _object.setAccessLevelDelete(accessLevelDelete); 93 _object.setAccessLevelUpdate(accessLevelUpdate); 94 _object.setDisabled(disabled); 95 return _object; 96 } 97 98 public ActivityMilestone extendAuditee( 102 org.opencrx.kernel.base.cci.Auditee _base 103 , String name 104 , short accessLevelBrowse 105 , short accessLevelDelete 106 , short accessLevelUpdate 107 , boolean disabled 108 ) { 109 ActivityMilestoneImpl _object = (ActivityMilestoneImpl)getActivityMilestone(_base); 110 _object.setName(name); 111 _object.setAccessLevelBrowse(accessLevelBrowse); 112 _object.setAccessLevelDelete(accessLevelDelete); 113 _object.setAccessLevelUpdate(accessLevelUpdate); 114 _object.setDisabled(disabled); 115 return _object; 116 } 117 118 public ActivityMilestone extendBookmarkable( 122 org.opencrx.kernel.base.cci.Bookmarkable _base 123 , String name 124 , short accessLevelBrowse 125 , short accessLevelDelete 126 , short accessLevelUpdate 127 , boolean disabled 128 ) { 129 ActivityMilestoneImpl _object = (ActivityMilestoneImpl)getActivityMilestone(_base); 130 _object.setName(name); 131 _object.setAccessLevelBrowse(accessLevelBrowse); 132 _object.setAccessLevelDelete(accessLevelDelete); 133 _object.setAccessLevelUpdate(accessLevelUpdate); 134 _object.setDisabled(disabled); 135 return _object; 136 } 137 138 public ActivityMilestone extendCloneable( 142 org.opencrx.kernel.base.cci.Cloneable _base 143 , String name 144 , short accessLevelBrowse 145 , short accessLevelDelete 146 , short accessLevelUpdate 147 , boolean disabled 148 ) { 149 ActivityMilestoneImpl _object = (ActivityMilestoneImpl)getActivityMilestone(_base); 150 _object.setName(name); 151 _object.setAccessLevelBrowse(accessLevelBrowse); 152 _object.setAccessLevelDelete(accessLevelDelete); 153 _object.setAccessLevelUpdate(accessLevelUpdate); 154 _object.setDisabled(disabled); 155 return _object; 156 } 157 158 public ActivityMilestone extendImporter( 162 org.opencrx.kernel.base.cci.Importer _base 163 , String name 164 , short accessLevelBrowse 165 , short accessLevelDelete 166 , short accessLevelUpdate 167 , boolean disabled 168 ) { 169 ActivityMilestoneImpl _object = (ActivityMilestoneImpl)getActivityMilestone(_base); 170 _object.setName(name); 171 _object.setAccessLevelBrowse(accessLevelBrowse); 172 _object.setAccessLevelDelete(accessLevelDelete); 173 _object.setAccessLevelUpdate(accessLevelUpdate); 174 _object.setDisabled(disabled); 175 return _object; 176 } 177 178 public ActivityMilestone extendSecureObject( 182 org.opencrx.kernel.base.cci.SecureObject _base 183 , String name 184 , boolean disabled 185 ) { 186 ActivityMilestoneImpl _object = (ActivityMilestoneImpl)getActivityMilestone(_base); 187 _object.setName(name); 188 _object.setDisabled(disabled); 189 return _object; 190 } 191 192 public ActivityMilestone extendSubscriptionTarget( 196 org.opencrx.kernel.base.cci.SubscriptionTarget _base 197 , String name 198 , short accessLevelBrowse 199 , short accessLevelDelete 200 , short accessLevelUpdate 201 , boolean disabled 202 ) { 203 ActivityMilestoneImpl _object = (ActivityMilestoneImpl)getActivityMilestone(_base); 204 _object.setName(name); 205 _object.setAccessLevelBrowse(accessLevelBrowse); 206 _object.setAccessLevelDelete(accessLevelDelete); 207 _object.setAccessLevelUpdate(accessLevelUpdate); 208 _object.setDisabled(disabled); 209 return _object; 210 } 211 212 public ActivityMilestone extendXmlExporter( 216 org.opencrx.kernel.base.cci.XmlExporter _base 217 , String name 218 , short accessLevelBrowse 219 , short accessLevelDelete 220 , short accessLevelUpdate 221 , boolean disabled 222 ) { 223 ActivityMilestoneImpl _object = (ActivityMilestoneImpl)getActivityMilestone(_base); 224 _object.setName(name); 225 _object.setAccessLevelBrowse(accessLevelBrowse); 226 _object.setAccessLevelDelete(accessLevelDelete); 227 _object.setAccessLevelUpdate(accessLevelUpdate); 228 _object.setDisabled(disabled); 229 return _object; 230 } 231 232 public ActivityMilestone extendCrxObject( 236 org.opencrx.kernel.generic.cci.CrxObject _base 237 , String name 238 ) { 239 ActivityMilestoneImpl _object = (ActivityMilestoneImpl)getActivityMilestone(_base); 240 _object.setName(name); 241 return _object; 242 } 243 244 public ActivityMilestone extendBasicObject( 248 org.openmdx.base.cci.BasicObject _base 249 , String name 250 , short accessLevelBrowse 251 , short accessLevelDelete 252 , short accessLevelUpdate 253 , boolean disabled 254 ) { 255 ActivityMilestoneImpl _object = (ActivityMilestoneImpl)getActivityMilestone(_base); 256 _object.setName(name); 257 _object.setAccessLevelBrowse(accessLevelBrowse); 258 _object.setAccessLevelDelete(accessLevelDelete); 259 _object.setAccessLevelUpdate(accessLevelUpdate); 260 _object.setDisabled(disabled); 261 return _object; 262 } 263 264 public ActivityMilestone extendContextCapable( 268 org.openmdx.base.cci.ContextCapable _base 269 , String name 270 , short accessLevelBrowse 271 , short accessLevelDelete 272 , short accessLevelUpdate 273 , boolean disabled 274 ) { 275 ActivityMilestoneImpl _object = (ActivityMilestoneImpl)getActivityMilestone(_base); 276 _object.setName(name); 277 _object.setAccessLevelBrowse(accessLevelBrowse); 278 _object.setAccessLevelDelete(accessLevelDelete); 279 _object.setAccessLevelUpdate(accessLevelUpdate); 280 _object.setDisabled(disabled); 281 return _object; 282 } 283 284 public ActivityMilestone extendExtentCapable( 288 org.openmdx.base.cci.ExtentCapable _base 289 , String name 290 , short accessLevelBrowse 291 , short accessLevelDelete 292 , short accessLevelUpdate 293 , boolean disabled 294 ) { 295 ActivityMilestoneImpl _object = (ActivityMilestoneImpl)getActivityMilestone(_base); 296 _object.setName(name); 297 _object.setAccessLevelBrowse(accessLevelBrowse); 298 _object.setAccessLevelDelete(accessLevelDelete); 299 _object.setAccessLevelUpdate(accessLevelUpdate); 300 _object.setDisabled(disabled); 301 return _object; 302 } 303 304 public ActivityMilestone extendViewCapable( 308 org.openmdx.compatibility.view1.cci.ViewCapable _base 309 , String name 310 , short accessLevelBrowse 311 , short accessLevelDelete 312 , short accessLevelUpdate 313 , boolean disabled 314 ) { 315 ActivityMilestoneImpl _object = (ActivityMilestoneImpl)getActivityMilestone(_base); 316 _object.setName(name); 317 _object.setAccessLevelBrowse(accessLevelBrowse); 318 _object.setAccessLevelDelete(accessLevelDelete); 319 _object.setAccessLevelUpdate(accessLevelUpdate); 320 _object.setDisabled(disabled); 321 return _object; 322 } 323 324 } 328 | Popular Tags |