1 package org.opencrx.kernel.contract1.cci; 14 15 public class InvoiceMarkAsClosedParamsFilterImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefFilter_1 17 implements InvoiceMarkAsClosedParamsFilter { 18 19 public InvoiceMarkAsClosedParamsFilterImpl( 20 org.openmdx.base.accessor.jmi.cci.RefPackage_1_0 aPackage 21 ) { 22 super( 23 aPackage, 24 "org:opencrx:kernel:contract1:InvoiceMarkAsClosedParams", 25 null, 26 null 27 ); 28 } 29 30 public InvoiceMarkAsClosedParamsFilterImpl( 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:opencrx:kernel:contract1:InvoiceMarkAsClosedParams", 38 filterProperties, 39 attributeSpecifiers 40 ); 41 } 42 43 public void forAllInvoiceState ( 47 short operator, 48 java.util.Collection values 49 ) { 50 refAddValue( 51 "org:opencrx:kernel:contract1:InvoiceMarkAsClosedParams:invoiceState", 52 org.openmdx.compatibility.base.query.Quantors.FOR_ALL, 53 operator, 54 values 55 ); 56 } 57 58 public void thereExistsInvoiceState ( 59 short operator, 60 java.util.Collection values 61 ) { 62 refAddValue( 63 "org:opencrx:kernel:contract1:InvoiceMarkAsClosedParams:invoiceState", 64 org.openmdx.compatibility.base.query.Quantors.THERE_EXISTS, 65 operator, 66 values 67 ); 68 } 69 70 public void forAllInvoiceState ( 71 short operator, 72 short[] filterValues 73 ) { 74 java.util.List arrayAsList = new java.util.ArrayList (); 75 for(int i = 0; i < filterValues.length; i++) { 76 arrayAsList.add( 77 new Short (filterValues[i]) 78 ); 79 } 80 forAllInvoiceState ( 81 operator, 82 arrayAsList 83 ); 84 } 85 86 public void thereExistsInvoiceState ( 87 short operator, 88 short[] filterValues 89 ) { 90 java.util.List arrayAsList = new java.util.ArrayList (); 91 for(int i = 0; i < filterValues.length; i++) { 92 arrayAsList.add( 93 new Short (filterValues[i]) 94 ); 95 } 96 thereExistsInvoiceState ( 97 operator, 98 arrayAsList 99 ); 100 } 101 102 public void orderByInvoiceState ( 103 short order 104 ) { 105 refAddValue( 106 "org:opencrx:kernel:contract1:InvoiceMarkAsClosedParams:invoiceState", 107 order 108 ); 109 } 110 111 } 115 | Popular Tags |