1 package org.opencrx.kernel.model1.cci; 14 15 public class EditableAttributeClassImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefClass_1 17 implements EditableAttributeClass { 18 19 public EditableAttributeClassImpl( 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:EditableAttribute"; 28 } 29 30 public EditableAttribute getEditableAttribute( 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 EditableAttribute target = (EditableAttribute)refCreateInstance( 38 args 39 ); 40 return target; 41 } else { 42 return (EditableAttribute)((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 EditableAttribute createEditableAttribute( 55 ) { 56 EditableAttribute target = (EditableAttribute)refCreateInstance( 57 null 58 ); 59 return target; 60 } 61 public EditableAttribute createEditableAttribute( 65 short accessLevelBrowse 66 , short accessLevelDelete 67 , short accessLevelUpdate 68 , short multiplicity 69 , String name 70 ) { 71 EditableAttributeImpl _object = (EditableAttributeImpl)createEditableAttribute(); 72 _object.setAccessLevelBrowse(accessLevelBrowse); 73 _object.setAccessLevelDelete(accessLevelDelete); 74 _object.setAccessLevelUpdate(accessLevelUpdate); 75 _object.setMultiplicity(multiplicity); 76 _object.setName(name); 77 return _object; 78 } 79 80 public EditableAttribute extendSecureObject( 84 org.opencrx.kernel.base.cci.SecureObject _base 85 , short multiplicity 86 , String name 87 ) { 88 EditableAttributeImpl _object = (EditableAttributeImpl)getEditableAttribute(_base); 89 _object.setMultiplicity(multiplicity); 90 _object.setName(name); 91 return _object; 92 } 93 94 public EditableAttribute extendEditableElement( 98 org.opencrx.kernel.model1.cci.EditableElement _base 99 , short accessLevelBrowse 100 , short accessLevelDelete 101 , short accessLevelUpdate 102 , short multiplicity 103 ) { 104 EditableAttributeImpl _object = (EditableAttributeImpl)getEditableAttribute(_base); 105 _object.setAccessLevelBrowse(accessLevelBrowse); 106 _object.setAccessLevelDelete(accessLevelDelete); 107 _object.setAccessLevelUpdate(accessLevelUpdate); 108 _object.setMultiplicity(multiplicity); 109 return _object; 110 } 111 112 public EditableAttribute extendEditableTypedElement( 116 org.opencrx.kernel.model1.cci.EditableTypedElement _base 117 , short accessLevelBrowse 118 , short accessLevelDelete 119 , short accessLevelUpdate 120 , short multiplicity 121 ) { 122 EditableAttributeImpl _object = (EditableAttributeImpl)getEditableAttribute(_base); 123 _object.setAccessLevelBrowse(accessLevelBrowse); 124 _object.setAccessLevelDelete(accessLevelDelete); 125 _object.setAccessLevelUpdate(accessLevelUpdate); 126 _object.setMultiplicity(multiplicity); 127 return _object; 128 } 129 130 public EditableAttribute extendBasicObject( 134 org.openmdx.base.cci.BasicObject _base 135 , short accessLevelBrowse 136 , short accessLevelDelete 137 , short accessLevelUpdate 138 , short multiplicity 139 , String name 140 ) { 141 EditableAttributeImpl _object = (EditableAttributeImpl)getEditableAttribute(_base); 142 _object.setAccessLevelBrowse(accessLevelBrowse); 143 _object.setAccessLevelDelete(accessLevelDelete); 144 _object.setAccessLevelUpdate(accessLevelUpdate); 145 _object.setMultiplicity(multiplicity); 146 _object.setName(name); 147 return _object; 148 } 149 150 public EditableAttribute extendContextCapable( 154 org.openmdx.base.cci.ContextCapable _base 155 , short accessLevelBrowse 156 , short accessLevelDelete 157 , short accessLevelUpdate 158 , short multiplicity 159 , String name 160 ) { 161 EditableAttributeImpl _object = (EditableAttributeImpl)getEditableAttribute(_base); 162 _object.setAccessLevelBrowse(accessLevelBrowse); 163 _object.setAccessLevelDelete(accessLevelDelete); 164 _object.setAccessLevelUpdate(accessLevelUpdate); 165 _object.setMultiplicity(multiplicity); 166 _object.setName(name); 167 return _object; 168 } 169 170 public EditableAttribute extendExtentCapable( 174 org.openmdx.base.cci.ExtentCapable _base 175 , short accessLevelBrowse 176 , short accessLevelDelete 177 , short accessLevelUpdate 178 , short multiplicity 179 , String name 180 ) { 181 EditableAttributeImpl _object = (EditableAttributeImpl)getEditableAttribute(_base); 182 _object.setAccessLevelBrowse(accessLevelBrowse); 183 _object.setAccessLevelDelete(accessLevelDelete); 184 _object.setAccessLevelUpdate(accessLevelUpdate); 185 _object.setMultiplicity(multiplicity); 186 _object.setName(name); 187 return _object; 188 } 189 190 public EditableAttribute extendViewCapable( 194 org.openmdx.compatibility.view1.cci.ViewCapable _base 195 , short accessLevelBrowse 196 , short accessLevelDelete 197 , short accessLevelUpdate 198 , short multiplicity 199 , String name 200 ) { 201 EditableAttributeImpl _object = (EditableAttributeImpl)getEditableAttribute(_base); 202 _object.setAccessLevelBrowse(accessLevelBrowse); 203 _object.setAccessLevelDelete(accessLevelDelete); 204 _object.setAccessLevelUpdate(accessLevelUpdate); 205 _object.setMultiplicity(multiplicity); 206 _object.setName(name); 207 return _object; 208 } 209 210 } 214 | Popular Tags |