1 package org.opencrx.kernel.code1.cci; 14 15 public class CodeValueContainerClassImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefClass_1 17 implements CodeValueContainerClass { 18 19 public CodeValueContainerClassImpl( 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:code1:CodeValueContainer"; 28 } 29 30 public CodeValueContainer getCodeValueContainer( 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 CodeValueContainer target = (CodeValueContainer)refCreateInstance( 38 args 39 ); 40 return target; 41 } else { 42 return (CodeValueContainer)((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 CodeValueContainer createCodeValueContainer( 55 ) { 56 CodeValueContainer target = (CodeValueContainer)refCreateInstance( 57 null 58 ); 59 return target; 60 } 61 public CodeValueContainer createCodeValueContainer( 65 short accessLevelBrowse 66 , short accessLevelDelete 67 , short accessLevelUpdate 68 ) { 69 CodeValueContainerImpl _object = (CodeValueContainerImpl)createCodeValueContainer(); 70 _object.setAccessLevelBrowse(accessLevelBrowse); 71 _object.setAccessLevelDelete(accessLevelDelete); 72 _object.setAccessLevelUpdate(accessLevelUpdate); 73 return _object; 74 } 75 76 public CodeValueContainer extendImporter( 80 org.opencrx.kernel.base.cci.Importer _base 81 , short accessLevelBrowse 82 , short accessLevelDelete 83 , short accessLevelUpdate 84 ) { 85 CodeValueContainerImpl _object = (CodeValueContainerImpl)getCodeValueContainer(_base); 86 _object.setAccessLevelBrowse(accessLevelBrowse); 87 _object.setAccessLevelDelete(accessLevelDelete); 88 _object.setAccessLevelUpdate(accessLevelUpdate); 89 return _object; 90 } 91 92 public CodeValueContainer extendXmlExporter( 96 org.opencrx.kernel.base.cci.XmlExporter _base 97 , short accessLevelBrowse 98 , short accessLevelDelete 99 , short accessLevelUpdate 100 ) { 101 CodeValueContainerImpl _object = (CodeValueContainerImpl)getCodeValueContainer(_base); 102 _object.setAccessLevelBrowse(accessLevelBrowse); 103 _object.setAccessLevelDelete(accessLevelDelete); 104 _object.setAccessLevelUpdate(accessLevelUpdate); 105 return _object; 106 } 107 108 public CodeValueContainer extendBasicObject( 112 org.openmdx.base.cci.BasicObject _base 113 , short accessLevelBrowse 114 , short accessLevelDelete 115 , short accessLevelUpdate 116 ) { 117 CodeValueContainerImpl _object = (CodeValueContainerImpl)getCodeValueContainer(_base); 118 _object.setAccessLevelBrowse(accessLevelBrowse); 119 _object.setAccessLevelDelete(accessLevelDelete); 120 _object.setAccessLevelUpdate(accessLevelUpdate); 121 return _object; 122 } 123 124 public CodeValueContainer extendContextCapable( 128 org.openmdx.base.cci.ContextCapable _base 129 , short accessLevelBrowse 130 , short accessLevelDelete 131 , short accessLevelUpdate 132 ) { 133 CodeValueContainerImpl _object = (CodeValueContainerImpl)getCodeValueContainer(_base); 134 _object.setAccessLevelBrowse(accessLevelBrowse); 135 _object.setAccessLevelDelete(accessLevelDelete); 136 _object.setAccessLevelUpdate(accessLevelUpdate); 137 return _object; 138 } 139 140 public CodeValueContainer extendExtentCapable( 144 org.openmdx.base.cci.ExtentCapable _base 145 , short accessLevelBrowse 146 , short accessLevelDelete 147 , short accessLevelUpdate 148 ) { 149 CodeValueContainerImpl _object = (CodeValueContainerImpl)getCodeValueContainer(_base); 150 _object.setAccessLevelBrowse(accessLevelBrowse); 151 _object.setAccessLevelDelete(accessLevelDelete); 152 _object.setAccessLevelUpdate(accessLevelUpdate); 153 return _object; 154 } 155 156 public CodeValueContainer extendViewCapable( 160 org.openmdx.compatibility.view1.cci.ViewCapable _base 161 , short accessLevelBrowse 162 , short accessLevelDelete 163 , short accessLevelUpdate 164 ) { 165 CodeValueContainerImpl _object = (CodeValueContainerImpl)getCodeValueContainer(_base); 166 _object.setAccessLevelBrowse(accessLevelBrowse); 167 _object.setAccessLevelDelete(accessLevelDelete); 168 _object.setAccessLevelUpdate(accessLevelUpdate); 169 return _object; 170 } 171 172 } 176 | Popular Tags |