1 package org.opencrx.kernel.activity1.cci; 14 15 public class ActivityLinkFromClassImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefClass_1 17 implements ActivityLinkFromClass { 18 19 public ActivityLinkFromClassImpl( 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:ActivityLinkFrom"; 28 } 29 30 public ActivityLinkFrom getActivityLinkFrom( 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 ActivityLinkFrom target = (ActivityLinkFrom)refCreateInstance( 38 args 39 ); 40 return target; 41 } else { 42 return (ActivityLinkFrom)((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 ActivityLinkFrom createActivityLinkFrom( 55 ) { 56 ActivityLinkFrom target = (ActivityLinkFrom)refCreateInstance( 57 null 58 ); 59 return target; 60 } 61 public ActivityLinkFrom createActivityLinkFrom( 65 short activityLinkType 66 , String name 67 , short accessLevelBrowse 68 , short accessLevelDelete 69 , short accessLevelUpdate 70 ) { 71 ActivityLinkFromImpl _object = (ActivityLinkFromImpl)createActivityLinkFrom(); 72 _object.setActivityLinkType(activityLinkType); 73 _object.setName(name); 74 _object.setAccessLevelBrowse(accessLevelBrowse); 75 _object.setAccessLevelDelete(accessLevelDelete); 76 _object.setAccessLevelUpdate(accessLevelUpdate); 77 return _object; 78 } 79 80 public ActivityLinkFrom extendSecureObject( 84 org.opencrx.kernel.base.cci.SecureObject _base 85 , short activityLinkType 86 , String name 87 ) { 88 ActivityLinkFromImpl _object = (ActivityLinkFromImpl)getActivityLinkFrom(_base); 89 _object.setActivityLinkType(activityLinkType); 90 _object.setName(name); 91 return _object; 92 } 93 94 public ActivityLinkFrom extendBasicObject( 98 org.openmdx.base.cci.BasicObject _base 99 , short activityLinkType 100 , String name 101 , short accessLevelBrowse 102 , short accessLevelDelete 103 , short accessLevelUpdate 104 ) { 105 ActivityLinkFromImpl _object = (ActivityLinkFromImpl)getActivityLinkFrom(_base); 106 _object.setActivityLinkType(activityLinkType); 107 _object.setName(name); 108 _object.setAccessLevelBrowse(accessLevelBrowse); 109 _object.setAccessLevelDelete(accessLevelDelete); 110 _object.setAccessLevelUpdate(accessLevelUpdate); 111 return _object; 112 } 113 114 public ActivityLinkFrom extendContextCapable( 118 org.openmdx.base.cci.ContextCapable _base 119 , short activityLinkType 120 , String name 121 , short accessLevelBrowse 122 , short accessLevelDelete 123 , short accessLevelUpdate 124 ) { 125 ActivityLinkFromImpl _object = (ActivityLinkFromImpl)getActivityLinkFrom(_base); 126 _object.setActivityLinkType(activityLinkType); 127 _object.setName(name); 128 _object.setAccessLevelBrowse(accessLevelBrowse); 129 _object.setAccessLevelDelete(accessLevelDelete); 130 _object.setAccessLevelUpdate(accessLevelUpdate); 131 return _object; 132 } 133 134 public ActivityLinkFrom extendExtentCapable( 138 org.openmdx.base.cci.ExtentCapable _base 139 , short activityLinkType 140 , String name 141 , short accessLevelBrowse 142 , short accessLevelDelete 143 , short accessLevelUpdate 144 ) { 145 ActivityLinkFromImpl _object = (ActivityLinkFromImpl)getActivityLinkFrom(_base); 146 _object.setActivityLinkType(activityLinkType); 147 _object.setName(name); 148 _object.setAccessLevelBrowse(accessLevelBrowse); 149 _object.setAccessLevelDelete(accessLevelDelete); 150 _object.setAccessLevelUpdate(accessLevelUpdate); 151 return _object; 152 } 153 154 public ActivityLinkFrom extendViewCapable( 158 org.openmdx.compatibility.view1.cci.ViewCapable _base 159 , short activityLinkType 160 , String name 161 , short accessLevelBrowse 162 , short accessLevelDelete 163 , short accessLevelUpdate 164 ) { 165 ActivityLinkFromImpl _object = (ActivityLinkFromImpl)getActivityLinkFrom(_base); 166 _object.setActivityLinkType(activityLinkType); 167 _object.setName(name); 168 _object.setAccessLevelBrowse(accessLevelBrowse); 169 _object.setAccessLevelDelete(accessLevelDelete); 170 _object.setAccessLevelUpdate(accessLevelUpdate); 171 return _object; 172 } 173 174 } 178 | Popular Tags |