Package pierre.model

Examples of pierre.model.QueryResult


    final Collection returnValues = new HashSet();
    final QueryResult[] queryResultTemplates = queryFeature.getQueryResultTemplates();
   
    for( int i = 0; i < queryResultTemplates.length; i++ )
    {
      final QueryResult queryResult = queryResultTemplates[ i ];
      RecordModel recordModel = queryResult.getRecordModel();
     
      if( recordModel == null )
      {
        recordModel= recordModelFactory.createRecordModel( queryResult.getRecordClassName() );
      }
     
      final Collection editFields = recordModel.getEditFields();
     
      for( Iterator iterator = editFields.iterator(); iterator.hasNext(); )
      {
        final DataFieldModel dataFieldModel = (DataFieldModel)iterator.next();
       
        if( dataFieldModel.isAttribute() )
        {
          returnValues.add( stripAttribute( SEPARATOR + normaliseQueryContext( queryResult.getSchemaContext() ) + SEPARATOR + dataFieldModel.getName() ) );
        }
        else
        {
          returnValues.add( SEPARATOR + normaliseQueryContext( queryResult.getSchemaContext() ) + SEPARATOR + dataFieldModel.getName() );
        }
      }
    }

    final StringBuffer query = ( isTamino ) ? new StringBuffer( "declare namespace tf=\"http://namespaces.softwareag.com/tamino/TaminoFunction\" " ) : new StringBuffer(); //$NON-NLS-1$;
View Full Code Here

TOP

Related Classes of pierre.model.QueryResult

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.