Package uk.ac.ebi.biomodels.ws

Examples of uk.ac.ebi.biomodels.ws.BioModelsWSClient


    proxyHost = null;
    proxyPort = null;
  }
   
  private BioModelsWSClient createBioModelsWSClient(){
    BioModelsWSClient client = new BioModelsWSClient();
    setProxyForClient(client);
    return client;
  }
View Full Code Here


     }
  }
 
    // Webservice queries //
  public List<String> getBioModelIdsByName(String name){
    BioModelsWSClient client = createBioModelsWSClient();
    String[] ids = null;
    try {
      ids = client.getModelsIdByName(name);
    } catch (BioModelsWSException e) {
      e.printStackTrace();
    }
    if (ids == null){ return new LinkedList<String>(); }
    return Arrays.asList(ids);
View Full Code Here

    if (ids == null){ return new LinkedList<String>(); }
    return Arrays.asList(ids);
  }
 
  public List<String> getBioModelIdsByPerson(String person){
    BioModelsWSClient client = createBioModelsWSClient();
    String[] ids = null;
    try {
      ids = client.getModelsIdByPerson(person);
    } catch (BioModelsWSException e) {
      e.printStackTrace();
    }
    if (ids == null){ return new LinkedList<String>(); }
    return Arrays.asList(ids);
View Full Code Here

    if (ids == null){ return new LinkedList<String>(); }
    return Arrays.asList(ids);
  }
 
  public List<String> getBioModelIdsByPublication(String publication){
    BioModelsWSClient client = createBioModelsWSClient();
    String[] ids = null;
    try {
      ids = client.getModelsIdByPublication(publication);
    } catch (BioModelsWSException e) {
      e.printStackTrace();
    }
    if (ids == null){ return new LinkedList<String>(); }
    return Arrays.asList(ids);
View Full Code Here

    if (ids == null){ return new LinkedList<String>(); }
    return Arrays.asList(ids);
  }
 
  public List<String> getBioModelIdsByTaxonomy(String taxonomy){
    BioModelsWSClient client = createBioModelsWSClient();
    String[] ids = null;
    try {
      ids = client.getModelsIdByTaxonomy(taxonomy);
    } catch (BioModelsWSException e) {
      e.printStackTrace();
    }
    if (ids == null){ return new LinkedList<String>(); }
    return Arrays.asList(ids);
View Full Code Here

    if (ids == null){ return new LinkedList<String>(); }
    return Arrays.asList(ids);
  }
 
  public List<String> getBioModelIdsByTaxonomyId(String taxonomyId){
    BioModelsWSClient client = createBioModelsWSClient();
    String[] ids = null;
    try {
      ids = client.getModelsIdByTaxonomyId(taxonomyId);
    } catch (BioModelsWSException e) {
      e.printStackTrace();
    }
    if (ids == null){ return new LinkedList<String>(); }
    return Arrays.asList(ids);
View Full Code Here

    if (ids == null){ return new LinkedList<String>(); }
    return Arrays.asList(ids);
  }
 
  public List<String> getBioModelIdsByChebi(String chebi){
    BioModelsWSClient client = createBioModelsWSClient();
    String[] ids = null;
    try {
      ids = client.getModelsIdByChEBI(chebi);
    } catch (BioModelsWSException e) {
      e.printStackTrace();
    }
    if (ids == null){ return new LinkedList<String>(); }
    return Arrays.asList(ids);
View Full Code Here

    if (ids == null){ return new LinkedList<String>(); }
    return Arrays.asList(ids);
  }
 
  public List<String> getBioModelIdsByChebiId(String chebiId){
    BioModelsWSClient client = createBioModelsWSClient();
    String[] ids = null;
    try {
      ids = client.getModelsIdByChEBIId(chebiId);
    } catch (BioModelsWSException e) {
      e.printStackTrace();
    }
    if (ids == null){ return new LinkedList<String>(); }
    return Arrays.asList(ids);
View Full Code Here

    if (ids == null){ return new LinkedList<String>(); }
    return Arrays.asList(ids);
  }
 
  public List<String> getBioModelIdsByUniprot(String uniprot){
    BioModelsWSClient client = createBioModelsWSClient();
    String[] ids = null;
    try {
      ids = client.getModelsIdByUniprot(uniprot);
    } catch (BioModelsWSException e) {
      e.printStackTrace();
    }
    if (ids == null){ return new LinkedList<String>(); }
    return Arrays.asList(ids);
View Full Code Here

    if (ids == null){ return new LinkedList<String>(); }
    return Arrays.asList(ids);
  }
 
  public List<String> getBioModelIdsByUniprotId(String uniprotId){
    BioModelsWSClient client = createBioModelsWSClient();
    String[] ids = null;
    try {
      ids = client.getModelsIdByUniprotId(uniprotId);
    } catch (BioModelsWSException e) {
      e.printStackTrace();
    }
    if (ids == null){ return new LinkedList<String>(); }
    return Arrays.asList(ids);
View Full Code Here

TOP

Related Classes of uk.ac.ebi.biomodels.ws.BioModelsWSClient

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.