1 package org.opencrx.kernel.base.cci; 14 15 public class BooleanPropertyClassImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefClass_1 17 implements BooleanPropertyClass { 18 19 public BooleanPropertyClassImpl( 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:base:BooleanProperty"; 28 } 29 30 public BooleanProperty getBooleanProperty( 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 BooleanProperty target = (BooleanProperty)refCreateInstance( 38 args 39 ); 40 return target; 41 } else { 42 return (BooleanProperty)((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 BooleanProperty createBooleanProperty( 55 ) { 56 BooleanProperty target = (BooleanProperty)refCreateInstance( 57 null 58 ); 59 return target; 60 } 61 public BooleanProperty createBooleanProperty( 65 boolean booleanValue 66 , String name 67 , short accessLevelBrowse 68 , short accessLevelDelete 69 , short accessLevelUpdate 70 ) { 71 BooleanPropertyImpl _object = (BooleanPropertyImpl)createBooleanProperty(); 72 _object.setBooleanValue(booleanValue); 73 _object.setName(name); 74 _object.setAccessLevelBrowse(accessLevelBrowse); 75 _object.setAccessLevelDelete(accessLevelDelete); 76 _object.setAccessLevelUpdate(accessLevelUpdate); 77 return _object; 78 } 79 80 public BooleanProperty extendProperty( 84 org.opencrx.kernel.base.cci.Property _base 85 , boolean booleanValue 86 ) { 87 BooleanPropertyImpl _object = (BooleanPropertyImpl)getBooleanProperty(_base); 88 _object.setBooleanValue(booleanValue); 89 return _object; 90 } 91 92 public BooleanProperty extendSecureObject( 96 org.opencrx.kernel.base.cci.SecureObject _base 97 , boolean booleanValue 98 , String name 99 ) { 100 BooleanPropertyImpl _object = (BooleanPropertyImpl)getBooleanProperty(_base); 101 _object.setBooleanValue(booleanValue); 102 _object.setName(name); 103 return _object; 104 } 105 106 public BooleanProperty extendBasicObject( 110 org.openmdx.base.cci.BasicObject _base 111 , boolean booleanValue 112 , String name 113 , short accessLevelBrowse 114 , short accessLevelDelete 115 , short accessLevelUpdate 116 ) { 117 BooleanPropertyImpl _object = (BooleanPropertyImpl)getBooleanProperty(_base); 118 _object.setBooleanValue(booleanValue); 119 _object.setName(name); 120 _object.setAccessLevelBrowse(accessLevelBrowse); 121 _object.setAccessLevelDelete(accessLevelDelete); 122 _object.setAccessLevelUpdate(accessLevelUpdate); 123 return _object; 124 } 125 126 public BooleanProperty extendContextCapable( 130 org.openmdx.base.cci.ContextCapable _base 131 , boolean booleanValue 132 , String name 133 , short accessLevelBrowse 134 , short accessLevelDelete 135 , short accessLevelUpdate 136 ) { 137 BooleanPropertyImpl _object = (BooleanPropertyImpl)getBooleanProperty(_base); 138 _object.setBooleanValue(booleanValue); 139 _object.setName(name); 140 _object.setAccessLevelBrowse(accessLevelBrowse); 141 _object.setAccessLevelDelete(accessLevelDelete); 142 _object.setAccessLevelUpdate(accessLevelUpdate); 143 return _object; 144 } 145 146 public BooleanProperty extendExtentCapable( 150 org.openmdx.base.cci.ExtentCapable _base 151 , boolean booleanValue 152 , String name 153 , short accessLevelBrowse 154 , short accessLevelDelete 155 , short accessLevelUpdate 156 ) { 157 BooleanPropertyImpl _object = (BooleanPropertyImpl)getBooleanProperty(_base); 158 _object.setBooleanValue(booleanValue); 159 _object.setName(name); 160 _object.setAccessLevelBrowse(accessLevelBrowse); 161 _object.setAccessLevelDelete(accessLevelDelete); 162 _object.setAccessLevelUpdate(accessLevelUpdate); 163 return _object; 164 } 165 166 public BooleanProperty extendViewCapable( 170 org.openmdx.compatibility.view1.cci.ViewCapable _base 171 , boolean booleanValue 172 , String name 173 , short accessLevelBrowse 174 , short accessLevelDelete 175 , short accessLevelUpdate 176 ) { 177 BooleanPropertyImpl _object = (BooleanPropertyImpl)getBooleanProperty(_base); 178 _object.setBooleanValue(booleanValue); 179 _object.setName(name); 180 _object.setAccessLevelBrowse(accessLevelBrowse); 181 _object.setAccessLevelDelete(accessLevelDelete); 182 _object.setAccessLevelUpdate(accessLevelUpdate); 183 return _object; 184 } 185 186 } 190 | Popular Tags |