1 package org.openmdx.base.cci; 14 15 public class ContextCapableFilterImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefFilter_1 17 implements ContextCapableFilter { 18 19 public ContextCapableFilterImpl( 20 org.openmdx.base.accessor.jmi.cci.RefPackage_1_0 aPackage 21 ) { 22 super( 23 aPackage, 24 "org:openmdx:base:ContextCapable", 25 null, 26 null 27 ); 28 } 29 30 public ContextCapableFilterImpl( 31 org.openmdx.base.accessor.jmi.cci.RefPackage_1_0 aPackage, 32 org.openmdx.compatibility.base.query.FilterProperty[] filterProperties, 33 org.openmdx.compatibility.base.dataprovider.cci.AttributeSpecifier[] attributeSpecifiers 34 ) { 35 super( 36 aPackage, 37 "org:openmdx:base:ContextCapable", 38 filterProperties, 39 attributeSpecifiers 40 ); 41 } 42 43 public void forAllContext ( 47 short operator, 48 org.openmdx.base.cci.Context[] filterValues 49 ) { 50 java.util.List arrayAsList = new java.util.ArrayList (); 51 for(int i = 0; i < filterValues.length; i++) { 52 arrayAsList.add( 53 filterValues[i] 54 ); 55 } 56 forAllContext ( 57 operator, 58 arrayAsList 59 ); 60 } 61 62 public void thereExistsContext ( 63 short operator, 64 org.openmdx.base.cci.Context[] filterValues 65 ) { 66 java.util.List arrayAsList = new java.util.ArrayList (); 67 for(int i = 0; i < filterValues.length; i++) { 68 arrayAsList.add( 69 filterValues[i] 70 ); 71 } 72 thereExistsContext ( 73 operator, 74 arrayAsList 75 ); 76 } 77 78 public void forAllContext ( 79 short operator, 80 java.util.Collection values 81 ) { 82 refAddValue( 83 "org:openmdx:base:ContextCapable:context", 84 org.openmdx.compatibility.base.query.Quantors.FOR_ALL, 85 operator, 86 values 87 ); 88 } 89 90 public void thereExistsContext ( 91 short operator, 92 java.util.Collection values 93 ) { 94 refAddValue( 95 "org:openmdx:base:ContextCapable:context", 96 org.openmdx.compatibility.base.query.Quantors.THERE_EXISTS, 97 operator, 98 values 99 ); 100 } 101 102 } 106 | Popular Tags |