Package edu.indiana.dde.metadata.catalog.types

Examples of edu.indiana.dde.metadata.catalog.types.QueryComponentType


            .addNewContextQueryRequest();
        QueryObjectType target = params.addNewQueryTarget();
        target.setAggrType(CatalogAggregationType.COLLECTION);

        ContextQueryType context = params.addNewContextQuery();
        QueryComponentType parentCollection = context
            .addNewQueryComponent();
        parentCollection.setAggrType(CatalogAggregationType.COLLECTION);
        parentCollection.setRelation(ContextType.DIRECT_PARENT);

        QueryPropertyType titleProperty = parentCollection
            .addNewQueryProperty();
        titleProperty.setName("citation");
        titleProperty.setSource("LEAD");
        QueryElementType titleElement = titleProperty
            .addNewQueryElement();
        titleElement.setName("title");
        titleElement.setSource("LEAD");
        QueryTextElementType textCriteria = titleElement
            .addNewQueryTextElement();
        textCriteria.setCompare(TextComparisonType.EXACT);
        textCriteria.setValue(WORKFLOW_TEMPLATES_COLLECTION);
        QueryComponentType project = parentCollection
            .addNewQueryComponent();
        project.setAggrType(CatalogAggregationType.PROJECT);
        project.setRelation(ContextType.PARENT);
        project.setObjectId(projectID);

        QueryResultConfigurationType config = params
            .addNewQueryResultConfiguration();
        config.setOffset(0);
        config.setCount(0);
View Full Code Here


      ContextQueryRequestType params = query.addNewContextQueryRequest();
      QueryObjectType target = params.addNewQueryTarget();
      target.setAggrType(CatalogAggregationType.COLLECTION);

      ContextQueryType context = params.addNewContextQuery();
      QueryComponentType parentCollection = context
          .addNewQueryComponent();
      parentCollection.setAggrType(CatalogAggregationType.PROJECT);
      parentCollection.setRelation(ContextType.PARENT);
      parentCollection.setObjectId(projectID);

      QueryPropertyType titleProperty = target.addNewQueryProperty();

      titleProperty.setName("citation");
      titleProperty.setSource("LEAD");
View Full Code Here

TOP

Related Classes of edu.indiana.dde.metadata.catalog.types.QueryComponentType

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.