001/** 002 * Copyright (C) 2010-2015 The Roslin Institute <contact andy.law@roslin.ed.ac.uk> 003 * 004 * This file is part of JEnsembl: a Java API to Ensembl data sources developed by the 005 * Bioinformatics Group at The Roslin Institute, The Royal (Dick) School of 006 * Veterinary Studies, University of Edinburgh. 007 * 008 * Project hosted at: http://jensembl.sourceforge.net 009 * 010 * This is free software: you can redistribute it and/or modify 011 * it under the terms of the GNU General Public License (version 3) as published by 012 * the Free Software Foundation. 013 * 014 * This software is distributed in the hope that it will be useful, 015 * but WITHOUT ANY WARRANTY; without even the implied warranty of 016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 017 * GNU General Public License for more details. 018 * 019 * You should have received a copy of the GNU General Public License 020 * in this software distribution. If not, see: http://opensource.org/licenses/gpl-3.0.html 021 */ 022package uk.ac.roslin.ensembl.datasourceaware.variation; 023 024import uk.ac.roslin.ensembl.datasourceaware.DAXRef; 025 026/** 027 * 028 * @author tpaterso 029 */ 030public class DAVariationXRef extends DAXRef { 031 032 private String url; 033 // only known value is "chip" 034 private String assayType ; 035 // three known values are "mixed, "germline", "somatic" 036 private String tissueSource = "germline"; 037 private String dBName = "" ; 038 039 public DAVariationXRef() { 040 //block lazyload for these 041 this.initialized=true; 042 } 043 044 public String getAssayType() { 045 return assayType; 046 } 047 048 public void setAssayType(String assayType) { 049 this.assayType = assayType; 050 } 051 052 public String getTissueSource() { 053 return tissueSource; 054 } 055 056 public void setTissueSource(String tissueSource) { 057 this.tissueSource = tissueSource; 058 } 059 060 public String getUrl() { 061 return url; 062 } 063 064 public void setUrl(String url) { 065 this.url = url; 066 } 067 068 public String getDBName() { 069 return dBName; 070 } 071 072 public void setDBName(String dBName) { 073 this.dBName = dBName; 074 } 075 076 @Override 077 public String getDBDisplayName() { 078 return this.dBName; 079 } 080 081 //we dont have a factory for these so they are not really datasource aware! 082 public void reInitialize() { 083 } 084 085}