1 package org.opencrx.kernel.activity1.cci; 14 15 public class ResourceRoleFilterPropertyClassImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefClass_1 17 implements ResourceRoleFilterPropertyClass { 18 19 public ResourceRoleFilterPropertyClassImpl( 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:activity1:ResourceRoleFilterProperty"; 28 } 29 30 public ResourceRoleFilterProperty getResourceRoleFilterProperty( 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 ResourceRoleFilterProperty target = (ResourceRoleFilterProperty)refCreateInstance( 38 args 39 ); 40 return target; 41 } else { 42 return (ResourceRoleFilterProperty)((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 ResourceRoleFilterProperty createResourceRoleFilterProperty( 55 ) { 56 ResourceRoleFilterProperty target = (ResourceRoleFilterProperty)refCreateInstance( 57 null 58 ); 59 return target; 60 } 61 public ResourceRoleFilterProperty createResourceRoleFilterProperty( 65 short filterOperator 66 , short filterQuantor 67 , String name 68 , short accessLevelBrowse 69 , short accessLevelDelete 70 , short accessLevelUpdate 71 ) { 72 ResourceRoleFilterPropertyImpl _object = (ResourceRoleFilterPropertyImpl)createResourceRoleFilterProperty(); 73 _object.setFilterOperator(filterOperator); 74 _object.setFilterQuantor(filterQuantor); 75 _object.setName(name); 76 _object.setAccessLevelBrowse(accessLevelBrowse); 77 _object.setAccessLevelDelete(accessLevelDelete); 78 _object.setAccessLevelUpdate(accessLevelUpdate); 79 return _object; 80 } 81 82 public ResourceRoleFilterProperty extendAbstractFilterProperty( 86 org.opencrx.kernel.base.cci.AbstractFilterProperty _base 87 , short accessLevelBrowse 88 , short accessLevelDelete 89 , short accessLevelUpdate 90 ) { 91 ResourceRoleFilterPropertyImpl _object = (ResourceRoleFilterPropertyImpl)getResourceRoleFilterProperty(_base); 92 _object.setAccessLevelBrowse(accessLevelBrowse); 93 _object.setAccessLevelDelete(accessLevelDelete); 94 _object.setAccessLevelUpdate(accessLevelUpdate); 95 return _object; 96 } 97 98 public ResourceRoleFilterProperty extendSecureObject( 102 org.opencrx.kernel.base.cci.SecureObject _base 103 , short filterOperator 104 , short filterQuantor 105 , String name 106 ) { 107 ResourceRoleFilterPropertyImpl _object = (ResourceRoleFilterPropertyImpl)getResourceRoleFilterProperty(_base); 108 _object.setFilterOperator(filterOperator); 109 _object.setFilterQuantor(filterQuantor); 110 _object.setName(name); 111 return _object; 112 } 113 114 public ResourceRoleFilterProperty extendBasicObject( 118 org.openmdx.base.cci.BasicObject _base 119 , short filterOperator 120 , short filterQuantor 121 , String name 122 , short accessLevelBrowse 123 , short accessLevelDelete 124 , short accessLevelUpdate 125 ) { 126 ResourceRoleFilterPropertyImpl _object = (ResourceRoleFilterPropertyImpl)getResourceRoleFilterProperty(_base); 127 _object.setFilterOperator(filterOperator); 128 _object.setFilterQuantor(filterQuantor); 129 _object.setName(name); 130 _object.setAccessLevelBrowse(accessLevelBrowse); 131 _object.setAccessLevelDelete(accessLevelDelete); 132 _object.setAccessLevelUpdate(accessLevelUpdate); 133 return _object; 134 } 135 136 public ResourceRoleFilterProperty extendContextCapable( 140 org.openmdx.base.cci.ContextCapable _base 141 , short filterOperator 142 , short filterQuantor 143 , String name 144 , short accessLevelBrowse 145 , short accessLevelDelete 146 , short accessLevelUpdate 147 ) { 148 ResourceRoleFilterPropertyImpl _object = (ResourceRoleFilterPropertyImpl)getResourceRoleFilterProperty(_base); 149 _object.setFilterOperator(filterOperator); 150 _object.setFilterQuantor(filterQuantor); 151 _object.setName(name); 152 _object.setAccessLevelBrowse(accessLevelBrowse); 153 _object.setAccessLevelDelete(accessLevelDelete); 154 _object.setAccessLevelUpdate(accessLevelUpdate); 155 return _object; 156 } 157 158 public ResourceRoleFilterProperty extendExtentCapable( 162 org.openmdx.base.cci.ExtentCapable _base 163 , short filterOperator 164 , short filterQuantor 165 , String name 166 , short accessLevelBrowse 167 , short accessLevelDelete 168 , short accessLevelUpdate 169 ) { 170 ResourceRoleFilterPropertyImpl _object = (ResourceRoleFilterPropertyImpl)getResourceRoleFilterProperty(_base); 171 _object.setFilterOperator(filterOperator); 172 _object.setFilterQuantor(filterQuantor); 173 _object.setName(name); 174 _object.setAccessLevelBrowse(accessLevelBrowse); 175 _object.setAccessLevelDelete(accessLevelDelete); 176 _object.setAccessLevelUpdate(accessLevelUpdate); 177 return _object; 178 } 179 180 public ResourceRoleFilterProperty extendViewCapable( 184 org.openmdx.compatibility.view1.cci.ViewCapable _base 185 , short filterOperator 186 , short filterQuantor 187 , String name 188 , short accessLevelBrowse 189 , short accessLevelDelete 190 , short accessLevelUpdate 191 ) { 192 ResourceRoleFilterPropertyImpl _object = (ResourceRoleFilterPropertyImpl)getResourceRoleFilterProperty(_base); 193 _object.setFilterOperator(filterOperator); 194 _object.setFilterQuantor(filterQuantor); 195 _object.setName(name); 196 _object.setAccessLevelBrowse(accessLevelBrowse); 197 _object.setAccessLevelDelete(accessLevelDelete); 198 _object.setAccessLevelUpdate(accessLevelUpdate); 199 return _object; 200 } 201 202 } 206 | Popular Tags |