1 package org.opencrx.kernel.model1.cci; 14 15 public class EditableOperationTagClassImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefClass_1 17 implements EditableOperationTagClass { 18 19 public EditableOperationTagClassImpl( 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:model1:EditableOperationTag"; 28 } 29 30 public EditableOperationTag getEditableOperationTag( 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 EditableOperationTag target = (EditableOperationTag)refCreateInstance( 38 args 39 ); 40 return target; 41 } else { 42 return (EditableOperationTag)((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 EditableOperationTag createEditableOperationTag( 55 ) { 56 EditableOperationTag target = (EditableOperationTag)refCreateInstance( 57 null 58 ); 59 return target; 60 } 61 public EditableOperationTag createEditableOperationTag( 65 short accessLevelBrowse 66 , short accessLevelDelete 67 , short accessLevelUpdate 68 , String name 69 ) { 70 EditableOperationTagImpl _object = (EditableOperationTagImpl)createEditableOperationTag(); 71 _object.setAccessLevelBrowse(accessLevelBrowse); 72 _object.setAccessLevelDelete(accessLevelDelete); 73 _object.setAccessLevelUpdate(accessLevelUpdate); 74 _object.setName(name); 75 return _object; 76 } 77 78 public EditableOperationTag extendSecureObject( 82 org.opencrx.kernel.base.cci.SecureObject _base 83 , String name 84 ) { 85 EditableOperationTagImpl _object = (EditableOperationTagImpl)getEditableOperationTag(_base); 86 _object.setName(name); 87 return _object; 88 } 89 90 public EditableOperationTag extendEditableElement( 94 org.opencrx.kernel.model1.cci.EditableElement _base 95 , short accessLevelBrowse 96 , short accessLevelDelete 97 , short accessLevelUpdate 98 ) { 99 EditableOperationTagImpl _object = (EditableOperationTagImpl)getEditableOperationTag(_base); 100 _object.setAccessLevelBrowse(accessLevelBrowse); 101 _object.setAccessLevelDelete(accessLevelDelete); 102 _object.setAccessLevelUpdate(accessLevelUpdate); 103 return _object; 104 } 105 106 public EditableOperationTag extendBasicObject( 110 org.openmdx.base.cci.BasicObject _base 111 , short accessLevelBrowse 112 , short accessLevelDelete 113 , short accessLevelUpdate 114 , String name 115 ) { 116 EditableOperationTagImpl _object = (EditableOperationTagImpl)getEditableOperationTag(_base); 117 _object.setAccessLevelBrowse(accessLevelBrowse); 118 _object.setAccessLevelDelete(accessLevelDelete); 119 _object.setAccessLevelUpdate(accessLevelUpdate); 120 _object.setName(name); 121 return _object; 122 } 123 124 public EditableOperationTag extendContextCapable( 128 org.openmdx.base.cci.ContextCapable _base 129 , short accessLevelBrowse 130 , short accessLevelDelete 131 , short accessLevelUpdate 132 , String name 133 ) { 134 EditableOperationTagImpl _object = (EditableOperationTagImpl)getEditableOperationTag(_base); 135 _object.setAccessLevelBrowse(accessLevelBrowse); 136 _object.setAccessLevelDelete(accessLevelDelete); 137 _object.setAccessLevelUpdate(accessLevelUpdate); 138 _object.setName(name); 139 return _object; 140 } 141 142 public EditableOperationTag extendExtentCapable( 146 org.openmdx.base.cci.ExtentCapable _base 147 , short accessLevelBrowse 148 , short accessLevelDelete 149 , short accessLevelUpdate 150 , String name 151 ) { 152 EditableOperationTagImpl _object = (EditableOperationTagImpl)getEditableOperationTag(_base); 153 _object.setAccessLevelBrowse(accessLevelBrowse); 154 _object.setAccessLevelDelete(accessLevelDelete); 155 _object.setAccessLevelUpdate(accessLevelUpdate); 156 _object.setName(name); 157 return _object; 158 } 159 160 public EditableOperationTag extendViewCapable( 164 org.openmdx.compatibility.view1.cci.ViewCapable _base 165 , short accessLevelBrowse 166 , short accessLevelDelete 167 , short accessLevelUpdate 168 , String name 169 ) { 170 EditableOperationTagImpl _object = (EditableOperationTagImpl)getEditableOperationTag(_base); 171 _object.setAccessLevelBrowse(accessLevelBrowse); 172 _object.setAccessLevelDelete(accessLevelDelete); 173 _object.setAccessLevelUpdate(accessLevelUpdate); 174 _object.setName(name); 175 return _object; 176 } 177 178 } 182 | Popular Tags |