List < Condition > function ( Condition arg0 ) { if ( arg0 == null ) { return Collections . emptyList ( ) ; } List < Condition > loc0 = new ArrayList < Condition > ( ) ; separateCriteria ( arg0 , loc0 ) ; return loc0 ; }
take a criteria , which may be null , a single ipredicatecriteria or a complex criteria built using icompoundcriteria and breaks it apart at ands such that a list of icriteria conjuncts are returned . for example , a = 1 or b = 2 and c = 3 and d = 4 would return the list a = 1 or b = 2 , c = 3 , d = 4 . if criteria is null , an empty list is returned . concode_field_sep PlaceHolder placeHolder concode_field_sep void separateCriteria concode_elem_sep Condition combineCriteria concode_elem_sep Condition combineCriteria