Package pierre.model

Examples of pierre.model.MetaQueryField


    {
      final CannedQuery query = queries[ i ];
     
      for( Iterator iterator = query.getMetaQueryFields().iterator(); iterator.hasNext(); )
      {
        final MetaQueryField queryField = (MetaQueryField)iterator.next();
        final String fieldValue = queryField.getValue();
       
        if( fieldValue.length() > 0 )
        {
          conditionValues.add( getCondition( normaliseQueryContext( query.getSchemaContext() ), queryField.getName(), null, fieldValue ) );
        }
      }
     
      for( Iterator iterator = query.getQueryFields().iterator(); iterator.hasNext(); )
      {
        final QueryField queryField = (QueryField)iterator.next();
        final DataFieldModel dataFieldModel = queryField.getEditFieldModel();
        final String fieldValue = queryField.getValue();
       
        if( fieldValue.length() > 0 )
        {
          conditionValues.add( getCondition( normaliseQueryContext( query.getSchemaContext() ), dataFieldModel.isAttribute() ? asAttribute( queryField.getName() ) : queryField.getName(), queryField.getOperator(), fieldValue ) );
        }
      }
    }
   
    final Collection returnValues = new HashSet();
View Full Code Here

TOP

Related Classes of pierre.model.MetaQueryField

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.