1 package org.opencrx.kernel.uom1.cci; 14 15 public class UomScheduleClassImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefClass_1 17 implements UomScheduleClass { 18 19 public UomScheduleClassImpl( 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:uom1:UomSchedule"; 28 } 29 30 public UomSchedule getUomSchedule( 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 UomSchedule target = (UomSchedule)refCreateInstance( 38 args 39 ); 40 return target; 41 } else { 42 return (UomSchedule)((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 UomSchedule createUomSchedule( 55 ) { 56 UomSchedule target = (UomSchedule)refCreateInstance( 57 null 58 ); 59 return target; 60 } 61 public UomSchedule createUomSchedule( 65 short accessLevelBrowse 66 , short accessLevelDelete 67 , short accessLevelUpdate 68 , String name 69 ) { 70 UomScheduleImpl _object = (UomScheduleImpl)createUomSchedule(); 71 _object.setAccessLevelBrowse(accessLevelBrowse); 72 _object.setAccessLevelDelete(accessLevelDelete); 73 _object.setAccessLevelUpdate(accessLevelUpdate); 74 _object.setName(name); 75 return _object; 76 } 77 78 public UomSchedule extendImporter( 82 org.opencrx.kernel.base.cci.Importer _base 83 , short accessLevelBrowse 84 , short accessLevelDelete 85 , short accessLevelUpdate 86 , String name 87 ) { 88 UomScheduleImpl _object = (UomScheduleImpl)getUomSchedule(_base); 89 _object.setAccessLevelBrowse(accessLevelBrowse); 90 _object.setAccessLevelDelete(accessLevelDelete); 91 _object.setAccessLevelUpdate(accessLevelUpdate); 92 _object.setName(name); 93 return _object; 94 } 95 96 public UomSchedule extendSecureObject( 100 org.opencrx.kernel.base.cci.SecureObject _base 101 , String name 102 ) { 103 UomScheduleImpl _object = (UomScheduleImpl)getUomSchedule(_base); 104 _object.setName(name); 105 return _object; 106 } 107 108 public UomSchedule extendXmlExporter( 112 org.opencrx.kernel.base.cci.XmlExporter _base 113 , short accessLevelBrowse 114 , short accessLevelDelete 115 , short accessLevelUpdate 116 , String name 117 ) { 118 UomScheduleImpl _object = (UomScheduleImpl)getUomSchedule(_base); 119 _object.setAccessLevelBrowse(accessLevelBrowse); 120 _object.setAccessLevelDelete(accessLevelDelete); 121 _object.setAccessLevelUpdate(accessLevelUpdate); 122 _object.setName(name); 123 return _object; 124 } 125 126 public UomSchedule extendBasicObject( 130 org.openmdx.base.cci.BasicObject _base 131 , short accessLevelBrowse 132 , short accessLevelDelete 133 , short accessLevelUpdate 134 , String name 135 ) { 136 UomScheduleImpl _object = (UomScheduleImpl)getUomSchedule(_base); 137 _object.setAccessLevelBrowse(accessLevelBrowse); 138 _object.setAccessLevelDelete(accessLevelDelete); 139 _object.setAccessLevelUpdate(accessLevelUpdate); 140 _object.setName(name); 141 return _object; 142 } 143 144 public UomSchedule extendContextCapable( 148 org.openmdx.base.cci.ContextCapable _base 149 , short accessLevelBrowse 150 , short accessLevelDelete 151 , short accessLevelUpdate 152 , String name 153 ) { 154 UomScheduleImpl _object = (UomScheduleImpl)getUomSchedule(_base); 155 _object.setAccessLevelBrowse(accessLevelBrowse); 156 _object.setAccessLevelDelete(accessLevelDelete); 157 _object.setAccessLevelUpdate(accessLevelUpdate); 158 _object.setName(name); 159 return _object; 160 } 161 162 public UomSchedule extendExtentCapable( 166 org.openmdx.base.cci.ExtentCapable _base 167 , short accessLevelBrowse 168 , short accessLevelDelete 169 , short accessLevelUpdate 170 , String name 171 ) { 172 UomScheduleImpl _object = (UomScheduleImpl)getUomSchedule(_base); 173 _object.setAccessLevelBrowse(accessLevelBrowse); 174 _object.setAccessLevelDelete(accessLevelDelete); 175 _object.setAccessLevelUpdate(accessLevelUpdate); 176 _object.setName(name); 177 return _object; 178 } 179 180 public UomSchedule extendViewCapable( 184 org.openmdx.compatibility.view1.cci.ViewCapable _base 185 , short accessLevelBrowse 186 , short accessLevelDelete 187 , short accessLevelUpdate 188 , String name 189 ) { 190 UomScheduleImpl _object = (UomScheduleImpl)getUomSchedule(_base); 191 _object.setAccessLevelBrowse(accessLevelBrowse); 192 _object.setAccessLevelDelete(accessLevelDelete); 193 _object.setAccessLevelUpdate(accessLevelUpdate); 194 _object.setName(name); 195 return _object; 196 } 197 198 } 202 | Popular Tags |