1 package org.opencrx.kernel.home1.cci; 14 15 public class ChartClassImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefClass_1 17 implements ChartClass { 18 19 public ChartClassImpl( 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:Chart"; 28 } 29 30 public Chart getChart( 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 Chart target = (Chart)refCreateInstance( 38 args 39 ); 40 return target; 41 } else { 42 return (Chart)((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 Chart createChart( 55 ) { 56 Chart target = (Chart)refCreateInstance( 57 null 58 ); 59 return target; 60 } 61 public Chart createChart( 65 byte[] chart 66 , String chartMimeType 67 , String chartName 68 , String description 69 , short accessLevelBrowse 70 , short accessLevelDelete 71 , short accessLevelUpdate 72 ) { 73 ChartImpl _object = (ChartImpl)createChart(); 74 _object.setChart(chart); 75 _object.setChartMimeType(chartMimeType); 76 _object.setChartName(chartName); 77 _object.setDescription(description); 78 _object.setAccessLevelBrowse(accessLevelBrowse); 79 _object.setAccessLevelDelete(accessLevelDelete); 80 _object.setAccessLevelUpdate(accessLevelUpdate); 81 return _object; 82 } 83 84 public Chart extendChart( 88 org.opencrx.kernel.base.cci.Chart _base 89 , short accessLevelBrowse 90 , short accessLevelDelete 91 , short accessLevelUpdate 92 ) { 93 ChartImpl _object = (ChartImpl)getChart(_base); 94 _object.setAccessLevelBrowse(accessLevelBrowse); 95 _object.setAccessLevelDelete(accessLevelDelete); 96 _object.setAccessLevelUpdate(accessLevelUpdate); 97 return _object; 98 } 99 100 public Chart extendSecureObject( 104 org.opencrx.kernel.base.cci.SecureObject _base 105 , byte[] chart 106 , String chartMimeType 107 , String chartName 108 , String description 109 ) { 110 ChartImpl _object = (ChartImpl)getChart(_base); 111 _object.setChart(chart); 112 _object.setChartMimeType(chartMimeType); 113 _object.setChartName(chartName); 114 _object.setDescription(description); 115 return _object; 116 } 117 118 public Chart extendBasicObject( 122 org.openmdx.base.cci.BasicObject _base 123 , byte[] chart 124 , String chartMimeType 125 , String chartName 126 , String description 127 , short accessLevelBrowse 128 , short accessLevelDelete 129 , short accessLevelUpdate 130 ) { 131 ChartImpl _object = (ChartImpl)getChart(_base); 132 _object.setChart(chart); 133 _object.setChartMimeType(chartMimeType); 134 _object.setChartName(chartName); 135 _object.setDescription(description); 136 _object.setAccessLevelBrowse(accessLevelBrowse); 137 _object.setAccessLevelDelete(accessLevelDelete); 138 _object.setAccessLevelUpdate(accessLevelUpdate); 139 return _object; 140 } 141 142 public Chart extendContextCapable( 146 org.openmdx.base.cci.ContextCapable _base 147 , byte[] chart 148 , String chartMimeType 149 , String chartName 150 , String description 151 , short accessLevelBrowse 152 , short accessLevelDelete 153 , short accessLevelUpdate 154 ) { 155 ChartImpl _object = (ChartImpl)getChart(_base); 156 _object.setChart(chart); 157 _object.setChartMimeType(chartMimeType); 158 _object.setChartName(chartName); 159 _object.setDescription(description); 160 _object.setAccessLevelBrowse(accessLevelBrowse); 161 _object.setAccessLevelDelete(accessLevelDelete); 162 _object.setAccessLevelUpdate(accessLevelUpdate); 163 return _object; 164 } 165 166 public Chart extendExtentCapable( 170 org.openmdx.base.cci.ExtentCapable _base 171 , byte[] chart 172 , String chartMimeType 173 , String chartName 174 , String description 175 , short accessLevelBrowse 176 , short accessLevelDelete 177 , short accessLevelUpdate 178 ) { 179 ChartImpl _object = (ChartImpl)getChart(_base); 180 _object.setChart(chart); 181 _object.setChartMimeType(chartMimeType); 182 _object.setChartName(chartName); 183 _object.setDescription(description); 184 _object.setAccessLevelBrowse(accessLevelBrowse); 185 _object.setAccessLevelDelete(accessLevelDelete); 186 _object.setAccessLevelUpdate(accessLevelUpdate); 187 return _object; 188 } 189 190 public Chart extendViewCapable( 194 org.openmdx.compatibility.view1.cci.ViewCapable _base 195 , byte[] chart 196 , String chartMimeType 197 , String chartName 198 , String description 199 , short accessLevelBrowse 200 , short accessLevelDelete 201 , short accessLevelUpdate 202 ) { 203 ChartImpl _object = (ChartImpl)getChart(_base); 204 _object.setChart(chart); 205 _object.setChartMimeType(chartMimeType); 206 _object.setChartName(chartName); 207 _object.setDescription(description); 208 _object.setAccessLevelBrowse(accessLevelBrowse); 209 _object.setAccessLevelDelete(accessLevelDelete); 210 _object.setAccessLevelUpdate(accessLevelUpdate); 211 return _object; 212 } 213 214 } 218 | Popular Tags |