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