当前位置: 首页>>代码示例>>Java>>正文


Java CaArrayServer.getArrayDesignDetailsService方法代码示例

本文整理汇总了Java中gov.nih.nci.caarray.services.CaArrayServer.getArrayDesignDetailsService方法的典型用法代码示例。如果您正苦于以下问题:Java CaArrayServer.getArrayDesignDetailsService方法的具体用法?Java CaArrayServer.getArrayDesignDetailsService怎么用?Java CaArrayServer.getArrayDesignDetailsService使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在gov.nih.nci.caarray.services.CaArrayServer的用法示例。


在下文中一共展示了CaArrayServer.getArrayDesignDetailsService方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: downloadDetailsFromArrayDesign

import gov.nih.nci.caarray.services.CaArrayServer; //导入方法依赖的package包/类
private void downloadDetailsFromArrayDesign(CaArrayServer server, CaArraySearchService searchService,
        String arrayDesignName) {
    ArrayDesign arrayDesign = lookupArrayDesign(searchService, arrayDesignName);
    if (arrayDesign == null) {
        System.out.println("Error: Could not find array design.");
        return;
    }
    ArrayDesignDetailsService arrayDesignDetailsService = server.getArrayDesignDetailsService();
    ArrayDesignDetails details = arrayDesignDetailsService.getDesignDetails(arrayDesign);
    if (details != null) {
        System.out.println("Retrieved " + details.getFeatures().size() + " features, "
                + details.getProbeGroups().size() + " probe group(s), " + details.getProbes().size()
                + " physical probes and " + details.getLogicalProbes().size() + " logical probes.");
    } else {
        System.out.println("Error: Retrieved null array design details.");
    }
}
 
开发者ID:NCIP,项目名称:caarray,代码行数:18,代码来源:ApiArrayDesignDownload.java

示例2: downloadDetailsFromArrayDesign

import gov.nih.nci.caarray.services.CaArrayServer; //导入方法依赖的package包/类
private void downloadDetailsFromArrayDesign(CaArrayServer server, CaArraySearchService searchService, String arrayDesignName) {
    ArrayDesign arrayDesign = lookupArrayDesign(searchService, arrayDesignName);
    if (arrayDesign != null) {
        ArrayDesignDetailsService arrayDesignDetailsService = server.getArrayDesignDetailsService();
        ArrayDesignDetails details = arrayDesignDetailsService.getDesignDetails(arrayDesign);
        logForSilverCompatibility(API_CALL, "ArrayDesignDetailsService.getDesignDetails()");
        if (details != null) {
            logForSilverCompatibility(TEST_OUTPUT, "Retrieved " + arrayDesignName + " with " + details.getFeatures().size() + " features, "
                    + details.getProbeGroups().size() + " probe groups, " + details.getProbes().size()
                    + " probes and " + details.getLogicalProbes().size() + " logical probes.");
            assertTrue(true);
        } else {
            logForSilverCompatibility(TEST_OUTPUT, "Error: Array Design Details was null.");
            assertTrue("Error: Array Design Details was null.", false);
        }
    } else {
        logForSilverCompatibility(TEST_OUTPUT, "Error: Array Design was null.");
        assertTrue("Error: Array Design was null.", false);
    }
}
 
开发者ID:NCIP,项目名称:caarray,代码行数:21,代码来源:ApiArrayDesignDownload.java

示例3: connect

import gov.nih.nci.caarray.services.CaArrayServer; //导入方法依赖的package包/类
public void connect() throws Exception
{

    String hostName = TestProperties.getJavaServerHostname();
    int port = TestProperties.getJavaServerJndiPort();
    System.out.println("Connecting to java server: " + hostName + ":" + port);
    CaArrayServer server = new CaArrayServer(hostName, port);
    server.connect();
    javaSearchService = server.getSearchService();   
    dataService = server.getDataRetrievalService();
    arrayDesignService = server.getArrayDesignDetailsService();
    fileRetrievalService = server.getFileRetrievalService();
}
 
开发者ID:NCIP,项目名称:caarray,代码行数:14,代码来源:JavaApiFacade.java


注:本文中的gov.nih.nci.caarray.services.CaArrayServer.getArrayDesignDetailsService方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。